backend: add clarifying comment to COPY command in Dockerfile

This commit is contained in:
Patrik Oldsberg
2020-07-29 11:34:37 +02:00
parent c94dc3dca0
commit 315b981cd4
+2
View File
@@ -2,6 +2,8 @@ FROM node:12
WORKDIR /usr/src/app
# This will copy the contents of the dist-workspace when running the build-image command.
# Do not use this Dockerfile outside of that command, as it will copy in the source code instead.
COPY . .
RUN yarn install --frozen-lockfile --production