From f4ad093d759e3cd73b43e0d8af377a9a12647cdf Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Tue, 21 Sep 2021 04:46:10 +0000 Subject: Revert "Copy packages from dependency image in prod build" This reverts commit 9414d9a8dea1f8635389e46dbf150d01646d6fe4. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5af1015..9af85dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,8 +26,8 @@ COPY --from=dependencies /app/.yarnrc.yml ./ COPY --from=dependencies /app/.yarn/releases ./.yarn/releases COPY --from=dependencies /app/.yarn/cache ./.yarn/cache COPY --from=dependencies /app/.yarn/plugins ./.yarn/plugins -COPY --from=dependencies /app/node_modules ./node_modules -RUN yarn workspaces focus -A --production \ +RUN yarn install \ + && yarn workspaces focus -A --production \ && yarn cache clean \ && rm -r yarn.lock .yarn COPY --from=build /app/build ./build -- cgit