30 lines
702 B
Text
30 lines
702 B
Text
|
|
# The build only COPYs server/, static/ and content/ -- everything else just
|
||
|
|
# bloats the context upload. Venvs especially: an untracked .venv silently
|
||
|
|
# swallowed by a broad COPY tripled the backend image once (Stage 2); keep
|
||
|
|
# them excluded even though no COPY should reach them.
|
||
|
|
.git
|
||
|
|
.gitignore
|
||
|
|
.venv/
|
||
|
|
.venv-test/
|
||
|
|
__pycache__/
|
||
|
|
**/__pycache__
|
||
|
|
*.pyc
|
||
|
|
.pytest_cache/
|
||
|
|
**/node_modules
|
||
|
|
tests/
|
||
|
|
# ...except the golden fixtures the Go build stage copies in to run
|
||
|
|
# internal/content's tests (see the Dockerfile's COPY tests/fixtures step).
|
||
|
|
!tests/fixtures/
|
||
|
|
!tests/fixtures/**
|
||
|
|
tools/
|
||
|
|
templates/
|
||
|
|
scripts/
|
||
|
|
*.py
|
||
|
|
requirements.txt
|
||
|
|
requirements-dev.txt
|
||
|
|
docker-compose.test.yml
|
||
|
|
Dockerfile
|
||
|
|
.dockerignore
|
||
|
|
Makefile
|
||
|
|
*.md
|