diff --git a/backend/Dockerfile b/backend/Dockerfile index da38b35a5..8558d3f11 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -30,4 +30,4 @@ ENV VIRTUAL_ENV /env ENV PATH /env/bin:$PATH EXPOSE 8000 -CMD ["sh", "-c", "python manage.py migrate && gunicorn --bind :8000 --workers 3 backend.wsgi:application"] \ No newline at end of file +CMD ["sh", "-c", "python manage.py migrate && gunicorn -b '[::]:8000' --workers 3 backend.wsgi:application"] diff --git a/frontend/scripts/start.sh b/frontend/scripts/start.sh index d0069b9e7..48a745846 100644 --- a/frontend/scripts/start.sh +++ b/frontend/scripts/start.sh @@ -2,4 +2,5 @@ # Set up runtime env vars and start next server bash scripts/replace-variable.sh && -NODE_ENV=production HOST=0.0.0.0 HOSTNAME=0.0.0.0 PORT=3000 node server.js +NODE_ENV=production HOSTNAME=:: PORT=3000 node server.js +