Browse Source

Añado collectstatic

main
creylopez 10 months ago
parent
commit
fdebd052a9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/config/entrypoint.sh

+ 2
- 0
src/config/entrypoint.sh View File

@ -2,6 +2,8 @@
RUN_PORT="8000" RUN_PORT="8000"
/opt/venv/bin/python manage.py migrate --no-input /opt/venv/bin/python manage.py migrate --no-input
/opt/venv/bin/python manage.py collectstatic
/opt/venv/bin/gunicorn cfehome.wsgi:application --bind "0.0.0.0:${RUN_PORT}" --daemon /opt/venv/bin/gunicorn cfehome.wsgi:application --bind "0.0.0.0:${RUN_PORT}" --daemon
nginx -g 'daemon off;' nginx -g 'daemon off;'

Loading…
Cancel
Save