Skip to content

Commit

Permalink
fix: pnpm install not found git commond
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Du <[email protected]>
  • Loading branch information
BobDu committed Mar 15, 2024
1 parent 322d381 commit 9e469dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ RUN pnpm run build
# build backend
FROM node:20-alpine as backend

RUN apk add --no-cache git
RUN npm install pnpm -g

WORKDIR /app
Expand All @@ -41,6 +42,7 @@ RUN pnpm build
# service
FROM node:20-alpine

RUN apk add --no-cache git
RUN npm install pnpm -g

WORKDIR /app
Expand Down

0 comments on commit 9e469dc

Please sign in to comment.