Skip to content

Commit 73a3339

Browse files
committed
Fix .dockerignore by using wildcard patterns
1 parent 5c92c4f commit 73a3339

2 files changed

Lines changed: 20 additions & 23 deletions

File tree

.dockerignore

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
# Docker-specific
22
.git/
33

4-
5-
# From .gitignore
6-
74
# Python-generated files
8-
__pycache__/
9-
*.py[oc]
10-
build/
11-
dist/
12-
wheels/
13-
*.egg-info
5+
**/__pycache__/
6+
**/*.py[oc]
7+
**/build/
8+
**/dist/
9+
**/wheels/
10+
**/*.egg-info
1411

1512
# Virtual environments
16-
.venv/
13+
**/.venv/
1714

1815
# Tooling
19-
.mypy_cache/
20-
.ruff_cache/
16+
**/.mypy_cache/
17+
**/.ruff_cache/
2118

2219
# Private env
23-
.env
20+
**/.env

.gitignore

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Keep in sync with .dockerignore
22

33
# Python-generated files
4-
__pycache__/
5-
*.py[oc]
6-
build/
7-
dist/
8-
wheels/
9-
*.egg-info
4+
**/__pycache__/
5+
**/*.py[oc]
6+
**/build/
7+
**/dist/
8+
**/wheels/
9+
**/*.egg-info
1010

1111
# Virtual environments
12-
.venv/
12+
**/.venv/
1313

1414
# Tooling
15-
.mypy_cache/
16-
.ruff_cache/
15+
**/.mypy_cache/
16+
**/.ruff_cache/
1717

1818
# Private env
19-
.env
19+
**/.env

0 commit comments

Comments
 (0)