Sample project for using "tiangolo-uwsgi-nginx".
~+ docker
├── app
│ ├── dist
│ │ └── test
│ ├── static
│ │ └── index.html
│ ├── main.py
│ ├── test.py
│ ├── test.spec
│ ├── uwsgi.ini
│ └── index.js
├── docker-compose.yml
├── Dockerfile
├── endtrypoint.sh
├── requirements.txt
└── uwsgi.ini
app/static/index.html
app/main.py
app/dist/test aap/test.py
Compile :
docker exec -it sample-server /bin/bash
cd /app
pyinstaller --onefile test.py
nohup dist/test -sS &
docker-compose -p sample up
docker-compose -p sample up -d