Small demo django app with docker
-
docker-compose -f docker-compose.prod.yml up -d --build
-
docker-compose -f docker-compose.prod.yml down -v
-
docker-compose -f docker-compose.prod.yml exec web python manage.py migrate --no-input
-
docker-compose -f docker-compose.prod.yml exec web python manage.py collectstatic --no-input --clear