Skip to content

Commit

Permalink
npm切换到yarn,加快容器构建
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinlic committed Apr 11, 2024
1 parent d4f6fee commit 674647e
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 @@ WORKDIR /app

COPY . /app

RUN npm i --registry http://registry.npmmirror.com && npm run build
RUN yarn install --registry https://registry.npmmirror.com/ && yarn run build

FROM node:lts-alpine

Expand Down

0 comments on commit 674647e

Please sign in to comment.