Merge pull request #1770 from spotify/rugvip/hint

backend: add clarifying comment to COPY command in Dockerfile
This commit is contained in:
Patrik Oldsberg
2020-07-29 16:29:24 +02:00
committed by GitHub
+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