- 重构目录结构:css/、resume/、other/ 分离公共资源与简历页面 - 主简历迁移至 resume/index.html,路径指向 /resume - 新增导航页 /other,基础架构工程师和网络安全工程师两份简历 - 全局样式 css/resume.css 由所有简历共享 - 新增 Dockerfile 和 nginx.conf,基于 nginx:alpine 容器化部署 - 新增 .gitea/workflows/deploy.yml,推送到 main 自动构建部署 - 更新 README.md 记录项目结构和添加新简历流程 - 删除无用脚本 convert.js、convert.py、download_font.js
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
# 复制 Nginx 配置
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# 复制静态资源
|
||||
COPY css/ /usr/share/nginx/html/css/
|
||||
COPY img/ /usr/share/nginx/html/img/
|
||||
COPY resume/ /usr/share/nginx/html/resume/
|
||||
COPY other/ /usr/share/nginx/html/other/
|
||||
|
||||
# 暴露端口
|
||||
EXPOSE 80
|
||||
|
||||
# 启动 Nginx
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in New Issue
Block a user