fix docker-django/cron problem

This commit is contained in:
2025-08-10 18:15:28 +02:00
parent fb0c7da252
commit 877a7be4aa
3 changed files with 14 additions and 24 deletions

View File

@@ -21,7 +21,7 @@ COPY . /app
# Optional non-root user (not used as default to allow cron)
RUN useradd -ms /bin/bash app && chown -R app:app /app
# USER app # keep running as root to manage cron
# USER app
# Runtime env defaults
ENV DJANGO_DEBUG=true \