Recursive clone this repo
git clone https://github.com/as641651/LinneaDeployDemo.git --recursive
The production vesrsion serves django with gunicorn and nginx
docker-compose -f prod-compose.yml build
docker-compose -f prod-compose.yml up
Build is done only once. You have to rebuild only if you change the Dockerfiles or add python requirements
To start server and return terminal
nohup docker-compose -f prod-compose.yml up &
To Stop serving and detach docker volumnes
docker-compose -f prod-compose.yml down -v