Skip to content

Commit

Permalink
fix: 调整了pnpm install的时机
Browse files Browse the repository at this point in the history
  • Loading branch information
Zecyel committed Oct 22, 2023
1 parent 59e18c2 commit a4cb391
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ WORKDIR /app

RUN npm install -g pnpm

COPY package.json pnpm-lock.yaml /app/

RUN pnpm install
# COPY package.json pnpm-lock.yaml /app/

COPY . /app

RUN pnpm install --frozen-lockfile

RUN pnpm build

FROM nginx:alpine
Expand Down

0 comments on commit a4cb391

Please sign in to comment.