calendarwatch_frontend/docker/calendarwatch/docker-entrypoint.sh
Raphael Maenle 15e68b88e8 adds uwsgi support instead of using flask dev server
- uses existing wsgi.py file

- adds wsgi.ini file
  - sets socket
  - defines application to be run, which it gets from wsgi.py file
  - uses http communication to nginx server
  - some random number of workers

- updates Dockerfile and docker-entrypoint
2020-07-10 11:47:49 +02:00

6 lines
88 B
Bash
Executable File

#!/bin/sh
cd /home/calendarwatch
uwsgi --ini wsgi.ini
echo "server has been started"