front/Dockerfile
2026-07-02 15:52:09 +08:00

10 lines
210 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM nginx:1.27-alpine
# 静态资源
COPY dist/ /usr/share/nginx/html/
# Docker 内只用 HTTP:80,SSL 在宿主机 nginx 或网关层处理
COPY nginx-docker.conf /etc/nginx/conf.d/default.conf
EXPOSE 80