Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit 73610f4

Browse files
chore: server using pnpm instead of npm
1 parent 43f68a5 commit 73610f4

4 files changed

Lines changed: 611 additions & 865 deletions

File tree

demo/server/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ FROM node:20-alpine
22

33
WORKDIR /app
44

5-
COPY package*.json ./
6-
RUN npm install --omit=dev
5+
COPY package.json ./
6+
RUN corepack enable && pnpm install --prod --no-lockfile
77

88
COPY . .
99

1010
# Cloud Run/Functions set PORT; default to 8080
1111
ENV PORT=8080
1212

13-
CMD ["npm", "start"]
13+
CMD ["pnpm", "start"]

0 commit comments

Comments
 (0)