mirror of
https://github.com/pretix/pretix.git
synced 2026-05-14 16:44:06 +00:00
Dockerfile: Fix /pretix permissions for nginx on Debian Trixie
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