From c8f721d057be4b0235b043beea7a8891684d564a Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Tue, 25 Aug 2020 03:35:17 -0500 Subject: [PATCH] =?UTF-8?q?fix(web):=20=F0=9F=90=9B=F0=9F=94=A8=20fix=20Do?= =?UTF-8?q?ckerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index 14b34d206..17e42f814 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -15,7 +15,8 @@ RUN npm ci --only=production # init build FROM node:alpine as build -COPY --from=install node_modules . +WORKDIR /usr/src/app/ +COPY --from=install /usr/src/app/node_modules ./node_modules # build COPY . .