diff --git a/Dockerfile b/Dockerfile index 8568116..75ec9f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,4 @@ ADD . /code/ RUN python -m pip install gunicorn RUN python manage.py collectstatic -CMD bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 spejstore.wsgi:application" +CMD bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application" diff --git a/docker-compose.yml b/docker-compose.yml index ccc6df8..2598928 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: web: build: . restart: always - command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 spejstore.wsgi:application" + command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application" volumes: - .:/code ports: