From 719f2f7c984f48be11ae35df6f2bd164dea802af Mon Sep 17 00:00:00 2001 From: Coder Date: Wed, 2 Sep 2026 16:48:15 +0700 Subject: [PATCH] Fix pnpm installation in Docker builds --- Dockerfile | 2 +- Dockerfile.gpu | 2 +- frontend/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd4a3df..4c55122 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ RUN chmod a+rx whishper FROM node:alpine as frontend ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" -RUN corepack enable +RUN npm install --global pnpm@8.15.9 COPY ./frontend /app WORKDIR /app diff --git a/Dockerfile.gpu b/Dockerfile.gpu index c3a53fc..2b99c5c 100644 --- a/Dockerfile.gpu +++ b/Dockerfile.gpu @@ -29,7 +29,7 @@ RUN chmod a+rx whishper FROM node:alpine as frontend ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" -RUN corepack enable +RUN npm install --global pnpm@8.15.9 COPY ./frontend /app WORKDIR /app diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 2e301be..ae3e7be 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,7 +1,7 @@ FROM node:alpine as base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" -RUN corepack enable +RUN npm install --global pnpm@8.15.9 COPY . /app WORKDIR /app