aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files 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