master
11617 2 years ago
parent 7a2c487000
commit 0ac1aecb59
  1. 8
      docker-entrypoint.sh
  2. BIN
      requirements.txt

@ -1,4 +1,10 @@
echo "启动成功"
sleep 10
python manage.py migrate
python manage.py runserver 0.0.0.0:8000
# python manage.py runserver 0.0.0.0:8000
# /var/log/django.log
/opt/interview/bin/gunicorn \
--access-logfile \
--workers 8 \
--bind unix:/run/gunicorn.sock \
djangoProject.wsgi:application

Binary file not shown.
Loading…
Cancel
Save