Skip to content

Commit

Permalink
Merge pull request flipped-aurora#580 from flipped-aurora/SliverHorn-…
Browse files Browse the repository at this point in the history
…patch-2

fix: web/Dockerfile cnpm install error
  • Loading branch information
奇淼(piexlmax authored Jul 13, 2021
2 parents 60c74bc + b129ae8 commit 37ed01a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ FROM node:12.16.1
WORKDIR /gva_web/
COPY . .

RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
RUN cnpm install || npm install
RUN npm install
RUN npm run build

FROM nginx:alpine
Expand Down

0 comments on commit 37ed01a

Please sign in to comment.