Browse Source

fix: 修改Dockerfile

weijin 4 years ago
parent
commit
39df49f01f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -2,7 +2,7 @@ FROM node:alpine AS base
 # Copy project file
 COPY . .
 # Build project
-RUN npm i && npm run generate
+RUN yarn install && yarn generate
 
 
 FROM nginx:1.19-alpine