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