Fix permissions for media files when served by nginx (#4889)

chore: adding recursive flag for the WORKDIR directory
This commit is contained in:
Simeon Emanuilov 2024-02-28 11:41:08 +02:00 committed by GitHub
parent f617433bac
commit 95e5598dfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ COPY --chown=django:django . ${APP_HOME}
{%- endif %} {%- endif %}
# make django owner of the WORKDIR directory as well. # make django owner of the WORKDIR directory as well.
RUN chown django:django ${APP_HOME} RUN chown -R django:django ${APP_HOME}
USER django USER django