From d9a5bc5bff718a20e6cf5112dae1719794df02e2 Mon Sep 17 00:00:00 2001 From: "Nikita P. Shupeyko" Date: Tue, 27 Mar 2018 18:15:24 +0300 Subject: [PATCH] Re-phrase Django Dockerfile requirements comments --- {{cookiecutter.project_slug}}/compose/local/django/Dockerfile | 2 +- .../compose/production/django/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_slug}}/compose/local/django/Dockerfile b/{{cookiecutter.project_slug}}/compose/local/django/Dockerfile index 4b3db4278..90e3b693f 100644 --- a/{{cookiecutter.project_slug}}/compose/local/django/Dockerfile +++ b/{{cookiecutter.project_slug}}/compose/local/django/Dockerfile @@ -15,7 +15,7 @@ RUN apk update \ # https://docs.djangoproject.com/en/2.0/ref/django-admin/#dbshell && apk add postgresql-client -# Requirements have to be pulled and installed here, otherwise caching won't work +# Requirements are installed here to ensure they will be cached. COPY ./requirements /requirements RUN pip install -r /requirements/local.txt diff --git a/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile b/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile index b3ce4c8c2..e8d2e0fc2 100644 --- a/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile +++ b/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile @@ -14,7 +14,7 @@ RUN apk update \ RUN addgroup -S django \ && adduser -S -G django django -# Requirements have to be pulled and installed here, otherwise caching won't work +# Requirements are installed here to ensure they will be cached. COPY ./requirements /requirements RUN pip install --no-cache-dir -r /requirements/production.txt \ && rm -rf /requirements