将nginx配置文件正确放入容器
This commit is contained in:
parent
539c9c7453
commit
20283e17b9
@ -24,7 +24,7 @@ FROM nginx:stable-alpine as production-stage
|
|||||||
COPY --from=build-stage /app/dist /usr/share/nginx/html
|
COPY --from=build-stage /app/dist /usr/share/nginx/html
|
||||||
|
|
||||||
# 复制Nginx配置文件
|
# 复制Nginx配置文件
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
# 暴露80端口
|
# 暴露80端口
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
Loading…
x
Reference in New Issue
Block a user