|
@ -27,7 +27,7 @@ RUN echo "types { application/javascript js mjs; }" > /etc/nginx/conf.d/mjs.conf |
|
|
COPY --from=builder /app/dist /usr/share/nginx/html |
|
|
COPY --from=builder /app/dist /usr/share/nginx/html |
|
|
|
|
|
|
|
|
# 拷贝 nginx 配置 |
|
|
# 拷贝 nginx 配置 |
|
|
COPY --from=builder /app/scripts/deploy/nginx.conf /etc/nginx/nginx.conf |
|
|
COPY --from=builder /app/scripts/nginx.conf /etc/nginx/nginx.conf |
|
|
|
|
|
|
|
|
EXPOSE 8080 |
|
|
EXPOSE 8080 |
|
|
CMD ["nginx", "-g", "daemon off;"] |
|
|
CMD ["nginx", "-g", "daemon off;"] |
|
|