Add Pretix with own list of plugins
All checks were successful
Build Pretix / Build Pretix Image (push) Successful in 3m12s
All checks were successful
Build Pretix / Build Pretix Image (push) Successful in 3m12s
We want to be able to use plugins in our Pretix, so build a custom image with them. Initially only the pretix-passbook plugin is active.
This commit is contained in:
parent
c13790491a
commit
ee87d7ee6b
1 changed files with 60 additions and 0 deletions
12
pretix/Containerfile
Normal file
12
pretix/Containerfile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
ARG TAG=latest
|
||||
|
||||
FROM docker.io/pretix/standalone:${TAG}
|
||||
|
||||
USER root
|
||||
COPY requirements.txt /tmp/plugin-requirements.txt
|
||||
RUN pip3 install --no-cache-dir -r /tmp/plugin-requirements.txt \
|
||||
&& rm /tmp/plugin-requirements.txt
|
||||
|
||||
USER pretixuser
|
||||
# Compile static files and translations, including those of the plugins.
|
||||
RUN cd /pretix/src && make production
|
||||
Loading…
Reference in a new issue