From e5aefa83eccff6ee630b9aec3c7d571f36e7660c Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 20 Oct 2023 15:13:29 +0200 Subject: [PATCH] Fix single image dockerfile --- hosting/single/Dockerfile.v2 | 1 + 1 file changed, 1 insertion(+) diff --git a/hosting/single/Dockerfile.v2 b/hosting/single/Dockerfile.v2 index ad11545a22..a983f10044 100644 --- a/hosting/single/Dockerfile.v2 +++ b/hosting/single/Dockerfile.v2 @@ -26,6 +26,7 @@ RUN ./scripts/removeWorkspaceDependencies.sh packages/worker/package.json # 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 ./scripts/removeWorkspaceDependencies.sh package.json RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn yarn install --production # copy the actual code