From 1d4bc4915225c2246838be801d9ee518fccd4a51 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 3 Oct 2023 22:38:37 +0200 Subject: [PATCH] Don't clean cache on the multistage --- hosting/single/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/single/Dockerfile b/hosting/single/Dockerfile index e5f91bb314..b9ceb1ec1c 100644 --- a/hosting/single/Dockerfile +++ b/hosting/single/Dockerfile @@ -26,7 +26,7 @@ RUN ./scripts/removeWorkspaceDependencies.sh # We will never want to sync pro, but the script is still required RUN echo '' > scripts/syncProPackage.js RUN jq 'del(.scripts.postinstall)' package.json > temp.json && mv temp.json package.json -RUN yarn install --production && yarn cache clean +RUN yarn install --production # copy the actual code COPY packages/server/dist packages/server/dist