forked from CGM_Public/pretix_original
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
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user