fix:优化docker构建速度
This commit is contained in:
37
.dockerignore
Normal file
37
.dockerignore
Normal file
@@ -0,0 +1,37 @@
|
||||
# Speed up docker build by shrinking context and avoiding host artifacts
|
||||
.git
|
||||
.gitignore
|
||||
node_modules
|
||||
pnpm-debug.log
|
||||
npm-debug.log
|
||||
yarn-debug.log
|
||||
yarn-error.log
|
||||
.DS_Store
|
||||
**/.DS_Store
|
||||
|
||||
# Monorepo: ignore nested installs and build outputs
|
||||
apps/**/node_modules
|
||||
apps/**/dist
|
||||
apps/**/.next
|
||||
apps/**/.nuxt
|
||||
apps/**/build
|
||||
apps/**/.cache
|
||||
|
||||
# Editor/OS noise
|
||||
.vscode
|
||||
.idea
|
||||
*.swp
|
||||
*.swo
|
||||
Thumbs.db
|
||||
|
||||
# Docker
|
||||
Dockerfile*
|
||||
!Dockerfile
|
||||
docker-compose*.yml
|
||||
!.dockerignore
|
||||
|
||||
# Tests and coverage
|
||||
coverage
|
||||
**/coverage
|
||||
*.lcov
|
||||
|
||||
Reference in New Issue
Block a user