# Dockerfile FROM pretix/standalone:stable USER root RUN PYTHONPATH=$PYTHONPATH:/pretix/src pip3 install pretix-ldap RUN sed -i 's/ugettext_lazy/gettext_lazy/' /pretix/.local/lib/python3.11/site-packages/pretix_ldap/__init__.py USER pretixuser RUN cd /pretix/src && make production