Browse Source
Merge pull request #580 from flipped-aurora/SliverHorn-patch-2
fix: web/Dockerfile cnpm install error
main
奇淼(piexlmax
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
web/Dockerfile
|
@ -3,8 +3,7 @@ FROM node:12.16.1 |
|
|
WORKDIR /gva_web/ |
|
|
WORKDIR /gva_web/ |
|
|
COPY . . |
|
|
COPY . . |
|
|
|
|
|
|
|
|
RUN npm install -g cnpm --registry=https://registry.npm.taobao.org |
|
|
|
|
|
RUN cnpm install || npm install |
|
|
|
|
|
|
|
|
RUN npm install |
|
|
RUN npm run build |
|
|
RUN npm run build |
|
|
|
|
|
|
|
|
FROM nginx:alpine |
|
|
FROM nginx:alpine |
|
|