Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

restart docker container

docker-compose -f docker-compose.prod.yml down -v
docker-compose -f docker-compose.prod.yml up -d --build
docker-compose -f docker-compose.prod.yml exec web python manage.py migrate --noinput
Source by testdriven.io #
 
PREVIOUS NEXT
Tagged: #restart #docker #container
ADD COMMENT
Topic
Name
1+3 =