Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 53 additions & 1 deletion backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,55 @@
# Version control
.git
.gitignore

# IDE / Editor
.idea
.vscode
.cursor

# Python caches
__pycache__
*.py[cod]
*.pyo
.pytest_cache
.git
.mypy_cache
.ruff_cache
.coverage
coverage.xml
htmlcov/

# Virtual environments
.venv
venv
env

# Docker (avoid recursive copy)
Dockerfile
docker-compose*.yml
.dockerignore

# Logs
*.log
django_queries.log

# Local env files
.env
default.env

# OS files
.DS_Store
Thumbs.db

# Build artifacts
staticfiles/
tmp/

# Google credentials (should be mounted, not baked in)
google_api_credentials.json

# Pre-commit
.pre-commit-config.yaml

# Database files
*.sql
*.sqlite3
4 changes: 4 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ COPY ./pyproject.toml ./poetry.lock /tmp/
WORKDIR /pneumatic_backend
RUN poetry config virtualenvs.create false && \
poetry install --without dev --no-root --no-interaction --directory /tmp

# Copy application source code (for production/Railway builds)
# In local dev, docker-compose volume mounts override this layer
COPY . .