Fixed dockerfile, v2
This commit is contained in:
parent
87db033a89
commit
5da3947334
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue