forked from Snailclimb/interview-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dockerignore
More file actions
85 lines (73 loc) · 1.12 KB
/
Copy path.dockerignore
File metadata and controls
85 lines (73 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# ==============================================================================
# Docker Build Context Optimization
# 作用:减小构建上下文,加快镜像构建速度,避免敏感信息泄露
# ==============================================================================
# Version Control
.git
.gitignore
.gitattributes
# Gradle
.gradle
**/build/
!gradle/wrapper/gradle-wrapper.jar
# Node.js (Frontend)
**/node_modules
**/dist
**/build
**/.pnpm-store
pnpm-lock.yaml
package-lock.json
yarn.lock
# IDE & Editors
.idea
.vscode
*.iml
*.ipr
*.iws
.project
.classpath
.settings
*.swp
*.swo
*~
# Environment & Secrets
.env
.env.*
!.env.example
# Logs & Temporary Files
*.log
logs/
tmp/
temp/
test-output.txt
# OS Generated Files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Test & Coverage
**/coverage
**/.nyc_output
**/test-results
# Documentation (not needed in production image)
docs/
*.md
!README.md
# Docker (avoid recursive context)
docker-compose*.yml
.dockerignore
Dockerfile*
# CI/CD
.github
.gitlab-ci.yml
.travis.yml
Jenkinsfile
# Misc
.editorconfig
.eslintrc*
.prettierrc*
*.bak
*.tmp