FROM python:3.7-alpine RUN mkdir -p /var/matemat/db /var/matemat/upload RUN apk --update add libmagic ADD . / RUN pip3 install -r /requirements.txt EXPOSE 80/tcp CMD [ "/run.sh" ]