更新 Dockerfile
This commit is contained in:
@ -28,8 +28,8 @@ COPY --from=builder /app/dist /usr/share/nginx/html
|
|||||||
# 复制自定义Nginx配置(如有需要)
|
# 复制自定义Nginx配置(如有需要)
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
# 暴露9800端口
|
# 3001
|
||||||
EXPOSE 9800
|
EXPOSE 3001
|
||||||
|
|
||||||
# 启动Nginx
|
# 启动Nginx
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
Reference in New Issue
Block a user