2018-06-19 22:54:07 +02:00
|
|
|
|
2018-08-02 20:37:54 +02:00
|
|
|
FROM python:3.7-alpine
|
2018-06-19 22:54:07 +02:00
|
|
|
|
2018-07-15 00:07:25 +02:00
|
|
|
RUN mkdir -p /var/matemat/db /var/matemat/upload
|
2018-07-20 11:09:43 +02:00
|
|
|
RUN apk --update add libmagic
|
2018-07-15 00:07:25 +02:00
|
|
|
ADD . /
|
|
|
|
RUN pip3 install -r /requirements.txt
|
2018-06-19 22:54:07 +02:00
|
|
|
|
2018-07-15 00:07:25 +02:00
|
|
|
EXPOSE 80/tcp
|
2018-07-20 11:38:16 +02:00
|
|
|
CMD [ "/run.sh" ]
|