Merge pull request #13747 from timja/patch-3

Re-order dockerfile in example backend slightly
This commit is contained in:
Fredrik Adelöw
2022-09-20 11:22:02 +02:00
committed by GitHub
+1 -3
View File
@@ -19,10 +19,8 @@ RUN apt-get update && \
yarn config set python /usr/bin/python3
# From here on we use the least-privileged `node` user to run the backend.
WORKDIR /app
RUN chown node:node /app
USER node
WORKDIR /app
# This switches many Node.js dependencies to production mode.
ENV NODE_ENV production