Commit 9b60ad5f authored by liuzicheng's avatar liuzicheng

Update Dockerfile

parent b06274d5
...@@ -8,7 +8,7 @@ COPY . . ...@@ -8,7 +8,7 @@ COPY . .
RUN npm install cnpm -g --no-progress --registry=httpsregistry.npm.taobao.org RUN npm install cnpm -g --no-progress --registry=httpsregistry.npm.taobao.org
RUN cnpm install --no-progress RUN cnpm install --no-progress
# 构建 # 构建
RUN npm run build RUN npm run build:staging
# production stage # production stage
# 使用nginx镜像 # 使用nginx镜像
FROM nginx:stable-alpine as production-stage FROM nginx:stable-alpine as production-stage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment