Merge pull request #13750 from timja/revert-13747-patch-3

Revert "Re-order dockerfile in example backend slightly"
This commit is contained in:
Fredrik Adelöw
2022-09-20 13:09:58 +02:00
committed by GitHub
+3 -1
View File
@@ -19,8 +19,10 @@ 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.
USER node
WORKDIR /app
RUN chown node:node /app
USER node
# This switches many Node.js dependencies to production mode.
ENV NODE_ENV production