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

This commit is contained in:
alex wiesner
2026-03-16 15:07:36 +00:00
parent f24aa53575
commit 7a53cc2cc7
6 changed files with 119 additions and 103 deletions

View File

@@ -8,7 +8,7 @@ stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
[program:gunicorn]
command=/usr/local/bin/gunicorn main.wsgi:application --bind [::]:8000 --workers 2 --timeout 120
command=/opt/venv/bin/gunicorn main.wsgi:application --bind [::]:8000 --workers 2 --timeout 120
directory=/code
autorestart=true
stdout_logfile=/dev/stdout
@@ -25,7 +25,7 @@ stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0
[program:sync_visited_regions]
command=/usr/local/bin/python3 /code/run_periodic_sync.py
command=/opt/venv/bin/python /code/run_periodic_sync.py
directory=/code
autorestart=true
stdout_logfile=/dev/stdout