Commit b06274d5 authored by liuzicheng's avatar liuzicheng

Update Dockerfile

parent a82f9269
......@@ -11,7 +11,7 @@ RUN cnpm install --no-progress
RUN npm run build
# production stage
# 使用nginx镜像
FROM nginxstable-alpine as production-stage
FROM nginx:stable-alpine as production-stage
# 使用--from把上面产生的静态文件复制到nginx的运行目录
COPY --from=build-stage appdist usrsharenginxhtml
# nginx容器内部暴露的端口
......
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