From 561a9f70b6d72d2187b77850de9c4b2b112f55bb Mon Sep 17 00:00:00 2001 From: Jonas Vacek Date: Mon, 22 May 2023 12:27:06 +0200 Subject: [PATCH] Revert "try chown recursively in prod?" This reverts commit bb32f055defa7a241e2fb493521f7a0659299ac3. --- compose/production/django/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/production/django/Dockerfile b/compose/production/django/Dockerfile index 43bb36a..38ac06f 100644 --- a/compose/production/django/Dockerfile +++ b/compose/production/django/Dockerfile @@ -35,7 +35,7 @@ ENV BUILD_ENV ${BUILD_ENVIRONMENT} WORKDIR ${APP_HOME} RUN addgroup --system django \ - && adduser --system --ingroup django django + && adduser --system --ingroup django django # Install required system dependencies @@ -84,7 +84,7 @@ RUN chmod +x /start-flower COPY --chown=django:django . ${APP_HOME} # make django owner of the WORKDIR directory as well. -RUN chown -r django:django ${APP_HOME} +RUN chown django:django ${APP_HOME} USER django