debug gunicorn path

This commit is contained in:
Parsa Nazer
2025-03-02 16:47:34 +03:30
parent 59603284c6
commit e0e5f1c429
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,4 +14,4 @@ COPY . /app/
CMD ["sh", "-c", "python manage.py makemigrations && \ CMD ["sh", "-c", "python manage.py makemigrations && \
python manage.py migrate && \ python manage.py migrate && \
python manage.py collectstatic --no-input && \ python manage.py collectstatic --no-input && \
gunicorn backend.wsgi:application --bind 0.0.0.0:8000 --workers 5"] gunicorn core.wsgi:application --bind 0.0.0.0:8000 --workers 5"]
+1 -1
View File
@@ -24,7 +24,7 @@ services:
[ [
"sh", "sh",
"-c", "-c",
"python manage.py migrate && python manage.py collectstatic --no-input && gunicorn backend.wsgi:application --bind 0.0.0.0:8000 --workers 5", "python manage.py migrate && python manage.py collectstatic --no-input && gunicorn core.wsgi:application --bind 0.0.0.0:8000 --workers 5",
] ]
networks: networks:
- default - default