Install pretix into system-site-packages in Docker image (#1410)

This commit is contained in:
Sohalt
2019-09-20 09:43:00 +02:00
committed by Raphael Michel
parent 6338cc69ae
commit ac1e69f2d8
+2
View File
@@ -57,6 +57,8 @@ COPY deployment/docker/nginx.conf /etc/nginx/nginx.conf
COPY deployment/docker/production_settings.py /pretix/src/production_settings.py
COPY src /pretix/src
RUN cd /pretix/src && pip3 install .
RUN chmod +x /usr/local/bin/pretix && \
rm /etc/nginx/sites-enabled/default && \
cd /pretix/src && \