pretix-ldap/Dockerfile
Bernd Reuther 994e62e334
All checks were successful
continuous-integration/drone/push Build is passing
Dockerfile aktualisiert
2024-01-08 21:34:39 +01:00

7 lines
388 B
Docker

# Dockerfile
FROM pretix/standalone:stable
USER pretixuser
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
RUN sed -i 's/ugettext_lazy/gettext_lazy/' /pretix/.local/lib/python3.11/site-packages/pretix_ldap/ldap_connector.py
RUN cd /pretix/src && make production