- Introduced Dockerfile for multi-stage application build and deployment using Nginx. - Added .dockerignore to exclude unnecessary files from the Docker context. - Created nginx.conf for server configuration, including Gzip compression and SPA routing. - Implemented Gitea CI/CD workflow for building and pushing Docker images on version tags.
63 lines
524 B
Plaintext
63 lines
524 B
Plaintext
# 依赖
|
|
node_modules
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
|
|
# 构建产物
|
|
dist
|
|
dist-ssr
|
|
*.local
|
|
|
|
# 编辑器
|
|
.vscode
|
|
.idea
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# 操作系统
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Git
|
|
.git
|
|
.gitignore
|
|
.gitattributes
|
|
|
|
# CI/CD
|
|
.gitea
|
|
.github
|
|
.gitlab-ci.yml
|
|
|
|
# Docker
|
|
Dockerfile
|
|
.dockerignore
|
|
docker-compose.yaml
|
|
docker-compose.*.yaml
|
|
compose*yaml
|
|
|
|
# 测试
|
|
coverage
|
|
.nyc_output
|
|
|
|
# 环境变量
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# 日志
|
|
logs
|
|
*.log
|
|
|
|
# 临时文件
|
|
tmp
|
|
temp
|
|
|
|
# 文档
|
|
README.md
|
|
LICENSE
|
|
*.md
|
|
|