From 87db033a8963c43316b36201379f387d7424af07 Mon Sep 17 00:00:00 2001 From: s3lph Date: Sun, 4 Nov 2018 02:55:33 +0100 Subject: [PATCH] Fixed dockerfile --- package/docker/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/docker/Dockerfile b/package/docker/Dockerfile index fae8463..9190083 100644 --- a/package/docker/Dockerfile +++ b/package/docker/Dockerfile @@ -1,12 +1,13 @@ FROM python:3.7-alpine -ADD ../.. / +ADD . / RUN mkdir -p /var/matemat/db /var/matemat/upload \ && apk --update add libmagic zlib jpeg zlib-dev jpeg-dev build-base \ && pip3 install -u . \ && 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 EXPOSE 80/tcp CMD [ "/run.sh" ]