matemat/Dockerfile

11 lines
259 B
Text
Raw Normal View History

2018-06-19 22:54:07 +02:00
FROM python:3.6-alpine
2018-06-19 22:54:07 +02:00
RUN mkdir -p /var/matemat/db /var/matemat/upload
RUN apk add libmagic=5.33-r0
ADD . /
RUN pip3 install -r /requirements.txt
2018-06-19 22:54:07 +02:00
EXPOSE 80/tcp
CMD [ "/usr/local/bin/python3", "-m", "matemat", "/etc/matemat.conf", "/matemat.docker.conf" ]