Source: 📖 Django for Professionals ch2 p33
After installing a new package on Docker, the image must be re-built to force Docker to use the new Pipfile
and Pipfile.lock
. To do this, first stop active containers and then run the docker-compose up -d
command again with the --build
flag.
$ docker-compose down
$ docker-compose up -d --build