更新 Dockerfiles/Dockerfile-production/Dockerfile
This commit is contained in:
parent
e75843bcf8
commit
9f770e8487
|
|
@ -32,7 +32,7 @@ FROM m.daocloud.io/docker.io/library/nginx:alpine
|
||||||
COPY --from=builder --chown=nginx:nginx /app/dist /usr/share/nginx/html
|
COPY --from=builder --chown=nginx:nginx /app/dist /usr/share/nginx/html
|
||||||
|
|
||||||
# 复制 Nginx 配置
|
# 复制 Nginx 配置
|
||||||
COPY Dockerfiles/Dockerfile-staging/default.conf /etc/nginx/conf.d/default.conf
|
COPY Dockerfiles/Dockerfile-production/default.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
# 暴露端口
|
# 暴露端口
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue