Dockerfile: Fix /pretix permissions for nginx on Debian Trixie
All checks were successful
Build Deploy email notification tool / Apply-Kubernetes-Resources (push) Successful in 9s

Debian Trixie changed the default home directory mode from 0755 to 0700,
causing nginx (www-data) to get 403 Forbidden on all static files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-03 21:41:06 +02:00
parent a37e6c8270
commit e2bf94ff9f

View File

@@ -31,6 +31,7 @@ RUN apt-get update && \
mkdir /etc/pretix && \
mkdir /data && \
useradd -ms /bin/bash -d /pretix -u 15371 pretixuser && \
chmod 0755 /pretix && \
echo 'pretixuser ALL=(ALL) NOPASSWD:SETENV: /usr/bin/supervisord' >> /etc/sudoers && \
mkdir /static && \
mkdir /etc/supervisord