修复了docker自动构建的一些问题, 更新了文档

This commit is contained in:
孟政元
2018-01-26 13:40:50 +08:00
parent d9e8ffadf2
commit d2e6e8269c
3 changed files with 15 additions and 7 deletions
+3 -3
View File
@@ -3,9 +3,9 @@ FROM mhart/alpine-node:9
WORKDIR /app
COPY . /app
RUN rm -rf node_modules \
&& rm package-lock.json \
&& npm config set registry "https://registry.npm.taobao.org/" \
RUN rm package-lock.json \
; rm -rf node_modules \
; npm config set registry "https://registry.npm.taobao.org/" \
&& npm install
EXPOSE 3000