chore: update to pnpm 12 (#2843)
This commit is contained in:
+12
-7
@@ -35,15 +35,20 @@ services:
|
||||
- ./shared/bookdrop:/bookdrop
|
||||
frontend:
|
||||
image: node:24-alpine
|
||||
command: |-
|
||||
sh -c "\
|
||||
cd /workspace &&\
|
||||
npm install -g pnpm@11.19.0 &&\
|
||||
pnpm config set store-dir /workspace/node_modules/.pnpm-store &&\
|
||||
pnpm install --frozen-lockfile --ignore-scripts &&\
|
||||
pnpm -C frontend exec ng serve --host 0.0.0.0 --watch --configuration development"
|
||||
command:
|
||||
- sh
|
||||
- -ec
|
||||
- |
|
||||
cd /workspace
|
||||
export PATH="$${PNPM_HOME}/bin:$${PATH}"
|
||||
PNPM_VERSION="$$(node -p "require('./package.json').packageManager.split('@')[1]")"
|
||||
ENV="/root/.shrc" SHELL="/bin/sh" npx --yes get-pnpm "$${PNPM_VERSION}"
|
||||
pnpm install --frozen-lockfile --ignore-scripts
|
||||
pnpm -C frontend exec ng serve --host 0.0.0.0 --watch --configuration development
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
- PNPM_HOME=/pnpm
|
||||
- PNPM_CONFIG_STORE_DIR=/workspace/node_modules/.pnpm-store
|
||||
stdin_open: true
|
||||
tty: true
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user