From 173ac3776ef64bfb298493b180cb7e6d040897d9 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Tue, 2 Apr 2024 18:11:27 +0100 Subject: [PATCH] fix(cli): Don't download pnpm with every invocation --- docker/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index a3f2eda6..ded3e854 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -102,11 +102,10 @@ WORKDIR /app COPY --from=cli_builder /prod apps/cli -RUN corepack enable - WORKDIR /app/apps/cli +RUN npm config set update-notifier false ARG SERVER_VERSION=nightly ENV SERVER_VERSION=${SERVER_VERSION} -ENTRYPOINT ["pnpm" , "exec", "tsx", "index.ts"] +ENTRYPOINT ["npm", "exec", "--", "tsx", "index.ts"]