fix(ci): optimize .dockerignore to speed up frontend build (#597)

This commit is contained in:
FirstClear 2025-08-06 11:07:24 +08:00 committed by GitHub
parent 6c559d44ca
commit a9bfcd5484
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 36 additions and 24 deletions

36
.dockerignore Normal file
View File

@ -0,0 +1,36 @@
# Exclude node_modules directories
**/node_modules
**/node_modules/**
# Exclude build artifacts
**/dist
**/build
**/.rush/temp
**/.rush/build-cache
**/common/temp
# Exclude development files
**/.git
**/.gitignore
**/.eslintrc*
**/.prettierrc*
**/*.log
# Exclude test files
**/__tests__
**/*.test.*
**/*.spec.*
# Exclude documentation
**/README.md
**/CHANGELOG.md
**/docs
# Exclude IDE files
**/.vscode
**/.idea
**/*.swp
**/*.swo
*.iml
*.iws
*.ipr

View File

@ -1,24 +0,0 @@
.env
.env.*
# Logs
logs
*.log*
# node
node_modules
.husky
.next
# vscode
.vscode
# webstorm
.idea
*.iml
*.iws
*.ipr
# Jetbrains
.idea