From a87eae211904f13e695d208d5b691f8c5bd6b97b Mon Sep 17 00:00:00 2001 From: Leex Date: Sun, 23 Feb 2025 22:37:38 +0100 Subject: [PATCH] Update Dockerfile (fix docker deployment) --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d287d40..1cd3f0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,10 @@ WORKDIR /app # Install dependencies (this step is cached as long as the dependencies don't change) COPY package.json pnpm-lock.yaml ./ -RUN corepack enable pnpm && pnpm install +#RUN npm install -g corepack@latest + +#RUN corepack enable pnpm && pnpm install +RUN npm install -g pnpm && pnpm install # Copy the rest of your app's source code COPY . .