aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 1ea7ad3..510681f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,7 +28,8 @@ COPY --from=dependencies /app/.yarn/cache ./.yarn/cache
COPY --from=dependencies /app/.yarn/plugins ./.yarn/plugins
RUN yarn install \
&& yarn workspaces focus -A --production \
- && yarn cache clean
+ && yarn cache clean \
+ && rm -r yarn.lock .yarn
COPY --from=build /app/build ./build
COPY public ./public