Skip to content

Commit 795ad4d

Browse files
committed
Ignore non-source code files for Docker builds
Generated using GPT-40 using prompt: "Generate docker ignore for a rust project"
1 parent c46decf commit 795ad4d

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.dockerignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Target directory (compiled binaries)
2+
target/
3+
4+
# Rust's incremental compilation and debug info
5+
**/incremental/
6+
**/debug/
7+
**/release/
8+
**/deps/
9+
**/examples/
10+
**/bench/
11+
12+
# Hidden system files
13+
.DS_Store
14+
Thumbs.db
15+
16+
# IDE & Editor settings
17+
.idea/
18+
.vscode/
19+
*.iml
20+
21+
# Logs and temporary files
22+
logs/
23+
*.log
24+
*.tmp
25+
*.swp
26+
*.swo
27+
*.swn
28+
29+
# Git files
30+
.git/
31+
.gitignore
32+
33+
# Docker files (optional)
34+
.dockerignore
35+
Dockerfile

0 commit comments

Comments
 (0)