Skip to content

Commit

Permalink
Merge pull request #42 from terwer/v4.x
Browse files Browse the repository at this point in the history
Fix steps
  • Loading branch information
terwer authored Mar 15, 2019
2 parents 1903245 + 033f32e commit d4e399f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions jvue-admin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ COPY ./jvue-front/package.json ./

# 因为被墙,单独安装
ENV SASS_BINARY_SITE https://npm.taobao.org/mirrors/node-sass
RUN npm install node-sass

RUN npm install
RUN npm install node-sass && npm install

# 注意这个一定要要在npm install后面,否则devDependencies的包无法安装
ENV HOST 0.0.0.0
Expand Down
4 changes: 1 addition & 3 deletions jvue-front/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ COPY ./jvue-front/package.json ./

# 因为被墙,单独安装
ENV SASS_BINARY_SITE https://npm.taobao.org/mirrors/node-sass
RUN npm install node-sass

RUN npm install
RUN npm install node-sass && npm install

# 注意这个一定要要在npm install后面,否则devDependencies的包无法安装
ENV HOST 0.0.0.0
Expand Down

0 comments on commit d4e399f

Please sign in to comment.