Skip to content

Commit

Permalink
Merge branch 'main' into feat--service-accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-chaturvedi authored Nov 24, 2024
2 parents 92c72a8 + cf2db1b commit c284cf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
CMD ["sh", "-c", "python manage.py migrate && gunicorn -b '[::]:8000' --workers 3 backend.wsgi:application"]
3 changes: 2 additions & 1 deletion frontend/scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c284cf0

Please sign in to comment.