FROM docker.io/pretix/standalone:2023.10.0
USER root
COPY entrypoint.sh /
RUN true \
&& chmod +x /entrypoint.sh \
&& touch /etc/pretix/pretix.cfg \
&& chown pretixuser /etc/pretix/pretix.cfg \
&& true
USER pretixuser
ENTRYPOINT ["/entrypoint.sh"]