From 315b981cd479230812e768cac1b6d4c5e8ae5fac Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 29 Jul 2020 11:34:37 +0200 Subject: [PATCH] backend: add clarifying comment to COPY command in Dockerfile --- packages/backend/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/Dockerfile b/packages/backend/Dockerfile index 3e8ba36cec..8d17821101 100644 --- a/packages/backend/Dockerfile +++ b/packages/backend/Dockerfile @@ -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