|
@ -29,5 +29,5 @@ COPY --from=builder /app/dist /usr/share/nginx/html |
|
|
# 拷贝 nginx 配置 |
|
|
# 拷贝 nginx 配置 |
|
|
COPY --from=builder /app/scripts/nginx.conf /etc/nginx/nginx.conf |
|
|
COPY --from=builder /app/scripts/nginx.conf /etc/nginx/nginx.conf |
|
|
|
|
|
|
|
|
EXPOSE 8080 |
|
|
EXPOSE 5000 |
|
|
CMD ["nginx", "-g", "daemon off;"] |
|
|
CMD ["nginx", "-g", "daemon off;"] |
|
|