jenkins support
Some checks failed
test/timeline-frontend/pipeline/head There was a failure building this commit

This commit is contained in:
jiangh277
2025-12-26 21:02:15 +08:00
parent e4308aaeb5
commit 5889bf4333
3 changed files with 245 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# 使用 nginx 作为基础镜像
FROM nginx:alpine
# 将构建好的前端文件复制到 nginx 的默认目录
COPY dist/ /usr/share/nginx/html/
# 复制 nginx 配置文件(如果存在)
COPY nginx.conf /etc/nginx/nginx.conf
# 暴露端口
EXPOSE 80
# 启动 nginx
CMD ["nginx", "-g", "daemon off;"]