Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix steps #42

Merged
merged 1 commit into from
Mar 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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