我正在使用 Docker 将 cookiecutter-django 应用程序部署到生产环境。我的问题是我什么时候需要使用--no-cache
with docker-compose -f production.yml build
?
特别是,如果我对其中一个 settings.py 文件进行更改,是否会在不使用 --no-cache 的情况下获取该更改。那么对 requirements.txt 文件的更改呢?
我正在使用 Docker 将 cookiecutter-django 应用程序部署到生产环境。我的问题是我什么时候需要使用--no-cache
with docker-compose -f production.yml build
?
特别是,如果我对其中一个 settings.py 文件进行更改,是否会在不使用 --no-cache 的情况下获取该更改。那么对 requirements.txt 文件的更改呢?