From 400ab021c92101bc6db1f70fba41e673de7ee14a Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Mon, 20 Sep 2021 23:55:07 +0000 Subject: One more trim for the build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Dockerfile') 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 -- cgit