Skip to content

Commit

Permalink
chore: 简化Dockerfile中编译代码
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Nov 14, 2024
1 parent c8c0fac commit 8ddf8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN npm install -g pnpm
COPY . .
RUN pnpm install
RUN pnpm -r run build
RUN pnpm run build:local


FROM node:alpine AS production
Expand Down

0 comments on commit 8ddf8d5

Please sign in to comment.