Dockerfile: Fix pretix version not known to pip

This commit is contained in:
Raphael Michel
2021-07-02 10:07:49 +02:00
parent 9894954233
commit 45daf63ad0

View File

@@ -60,7 +60,7 @@ 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 cd /pretix/src && python setup.py install
RUN chmod +x /usr/local/bin/pretix && \
rm /etc/nginx/sites-enabled/default && \