This commit is contained in:
2025-03-30 22:11:50 +08:00
parent 46e0383736
commit b7b541d937
6 changed files with 114 additions and 5 deletions
@@ -0,0 +1,11 @@
# 使用轻量级的 nginx 镜像
FROM nginx:alpine
# 复制构建后的文件到 nginx 目录
COPY dist/ /usr/share/nginx/html/
# 复制 nginx 配置文件
COPY nginx.conf /etc/nginx/conf.d/default.conf
# 暴露 8080 端口
EXPOSE 8080