reduce production image size without runtime drift
Some checks failed
Upload latest backend image to GHCR / upload (push) Failing after 2m45s
Test Backend / Build and Test Backend (push) Failing after 2m3s
Upload latest frontend image to GHCR / upload (push) Failing after 13s
Test Frontend / Build and Test Frontend (push) Successful in 10m51s
Trivy Security Scans / Trivy Filesystem Scan (Source Code) (push) Failing after 1m43s
Trivy Security Scans / Trivy Docker Image Scan (Backend & Frontend) (push) Failing after 27s
Some checks failed
Upload latest backend image to GHCR / upload (push) Failing after 2m45s
Test Backend / Build and Test Backend (push) Failing after 2m3s
Upload latest frontend image to GHCR / upload (push) Failing after 13s
Test Frontend / Build and Test Frontend (push) Successful in 10m51s
Trivy Security Scans / Trivy Filesystem Scan (Source Code) (push) Failing after 1m43s
Trivy Security Scans / Trivy Docker Image Scan (Backend & Frontend) (push) Failing after 27s
This commit is contained in:
32
backend/.dockerignore
Normal file
32
backend/.dockerignore
Normal file
@@ -0,0 +1,32 @@
|
||||
.git
|
||||
.github
|
||||
.devcontainer
|
||||
.env
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*.log
|
||||
*.sqlite3
|
||||
.coverage
|
||||
.pytest_cache/
|
||||
.mypy_cache/
|
||||
.ruff_cache/
|
||||
coverage.xml
|
||||
htmlcov/
|
||||
server/.pytest_cache
|
||||
server/.mypy_cache
|
||||
server/.ruff_cache
|
||||
server/.coverage
|
||||
server/coverage.xml
|
||||
server/htmlcov
|
||||
server/.hypothesis
|
||||
server/scheduler.log
|
||||
server/**/*.log
|
||||
server/tests/
|
||||
server/**/tests/
|
||||
server/test_*.py
|
||||
server/**/__pycache__/
|
||||
server/**/*.py[cod]
|
||||
server/media/
|
||||
server/staticfiles/
|
||||
server/.env
|
||||
server/.env.*
|
||||
Reference in New Issue
Block a user