Revert "Re-order dockerfile in example backend slightly"

Signed-off-by: Tim Jacomb <timjacomb1@gmail.com>
This commit is contained in:
Tim Jacomb
2022-09-20 11:44:27 +01:00
committed by Tim Jacomb
parent 3142eb724e
commit d1552cd5ba
+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