FROM pretix/standalone:stable USER root # Copy the entire repo so local plugin paths in plugins.txt resolve correctly COPY . /tmp/bundle/ # Install all plugins listed in plugins.txt. # Lines starting with # and empty lines are ignored. # Local paths (./plugins/foo/) are resolved relative to /tmp/bundle/. RUN cd /tmp/bundle && \ grep -v '^\s*#' plugins.txt | grep -v '^\s*$' | \ xargs pip3 install && \ rm -rf /tmp/bundle USER pretixuser # Rebuild static files and asset pipeline after plugin installation RUN cd /pretix/src && make production