From 952ca20b273b3019502f123bb59bb1734ee1b0b8 Mon Sep 17 00:00:00 2001 From: Dominique Plante Date: Thu, 8 May 2025 15:47:32 -0700 Subject: [PATCH] Add comment to generated dockerfile --- .../compose/production/django/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile b/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile index a811c7acd..20bdf5fa7 100644 --- a/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile +++ b/{{cookiecutter.project_slug}}/compose/production/django/Dockerfile @@ -119,6 +119,7 @@ COPY --from=client-builder --chown=django:django ${APP_HOME} ${APP_HOME} COPY --chown=django:django . ${APP_HOME} {%- endif %} +# explicitly create the media folder before changing ownership below RUN mkdir -p ${APP_HOME}/{{ cookiecutter.project_slug }}/media # make django owner of the WORKDIR directory as well.