Skip to content

Commit

Permalink
fix: use npm
Browse files Browse the repository at this point in the history
  • Loading branch information
lazhenyi committed Nov 17, 2024
1 parent b882ae7 commit a374cc2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ FROM node:22.6.0-alpine3.20
WORKDIR /usr/src/app

COPY . .
RUN npm install --global pnpm
RUN pnpm install

RUN pnpm run build
RUN npm install
RUN npm run build

FROM nginx:latest

Expand Down

0 comments on commit a374cc2

Please sign in to comment.