From 7001e5a403c59f495f92f48a2506542ab8cc21c4 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Mon, 18 Nov 2024 23:03:05 +0000 Subject: [PATCH] docker: Preinstall pnpm for the worker job to prevent downloading it on startup. #666 --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 2d9462db..a84ec5b5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -91,7 +91,7 @@ COPY --from=base --chown=node:node /app/apps/web/.next/static ./apps/web/.next/s # Prepare the workers app ###################### COPY --from=base /prod/workers /app/apps/workers -RUN corepack enable +RUN corepack enable && corepack install ENTRYPOINT ["/init"]