diff --git a/.npmrc b/.npmrc index 7912be5..5e4086a 100755 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1 @@ registry=https://registry.npmmirror.com/ -onlyBuiltDependencies[]=esbuild diff --git a/Dockerfile b/Dockerfile index 9c42a34..8763846 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM node:22-alpine AS build WORKDIR /app COPY . . -RUN corepack enable && pnpm install +RUN corepack enable && corepack prepare pnpm@10 --activate && pnpm install RUN pnpm build diff --git a/package.json b/package.json index c305cc7..b36a759 100755 --- a/package.json +++ b/package.json @@ -70,10 +70,5 @@ "@vitejs/plugin-react": "^5.0.4", "typescript": "^5.8.3", "vite": "^7.3.1" - }, - "pnpm": { - "onlyBuiltDependencies": [ - "esbuild" - ] } }