1
0
Fork 0
forked from s3lph/matemat

Fixed dockerfile, v2

This commit is contained in:
s3lph 2018-11-04 02:58:18 +01:00
parent 87db033a89
commit 5da3947334

View file

@ -4,7 +4,7 @@ FROM python:3.7-alpine
ADD . / ADD . /
RUN mkdir -p /var/matemat/db /var/matemat/upload \ RUN mkdir -p /var/matemat/db /var/matemat/upload \
&& apk --update add libmagic zlib jpeg zlib-dev jpeg-dev build-base \ && apk --update add libmagic zlib jpeg zlib-dev jpeg-dev build-base \
&& pip3 install -u . \ && pip3 install -e . \
&& apk del zlib-dev jpeg-dev build-base \ && apk del zlib-dev jpeg-dev build-base \
&& rm -rf /var/cache/apk /root/.cache/pip \ && rm -rf /var/cache/apk /root/.cache/pip \
&& rm -rf /package && rm -rf /package