front/Dockerfile
xiaolipro 5ae57745be
Some checks failed
Build and Deploy Front / deploy (push) Failing after 3m46s
1
2026-11-11 15:59:38 +08:00

7 lines
242 B
Docker
Raw Permalink 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.

# 本地/简易:先 pnpm build,再 docker build
# HTTPS 由外层网关(Traefik)终结
FROM docker.m.daocloud.io/library/nginx:1.27-alpine
COPY dist/ /usr/share/nginx/html/
COPY nginx-k3s.conf /etc/nginx/conf.d/default.conf
EXPOSE 80