feat: Initial commit
This commit is contained in:
commit
17973e866b
44 changed files with 1444 additions and 0 deletions
19
docker/pretix/Dockerfile
Normal file
19
docker/pretix/Dockerfile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
FROM pretix/standalone:stable
|
||||
|
||||
USER root
|
||||
|
||||
ENV IMAGE_CRON_DIR="/image/cron" \
|
||||
IMAGE_CONFIG_DIR="/image/config"
|
||||
|
||||
ADD files /image
|
||||
COPY crontab /tmp/crontab
|
||||
|
||||
RUN mv /image/supervisord/crond.conf /etc/supervisord/crond.conf && \
|
||||
pip install crontab && chmod 644 $IMAGE_CONFIG_DIR/ssl/*.crt && chmod +x $IMAGE_CRON_DIR/cron.py
|
||||
|
||||
USER pretixuser
|
||||
|
||||
EXPOSE 443
|
||||
|
||||
ENTRYPOINT ["pretix"]
|
||||
CMD ["all"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue