1
0
Fork 0

Replace docker-compose to gunicorn run

This commit is contained in:
Dariusz Niemczyk 2023-07-14 16:29:47 +02:00
parent 8210381027
commit e2e82b1a2e
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ services:
web:
build: .
restart: always
command: bash -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 spejstore.wsgi:application"
volumes:
- .:/code
ports: