2018-08-11 13:05:51 +02:00
|
|
|
FROM debian9_python3
|
2015-03-06 21:58:53 +01:00
|
|
|
|
2016-07-03 19:29:30 +02:00
|
|
|
COPY requirements.txt /requirements.txt
|
2016-04-13 08:30:13 +02:00
|
|
|
RUN pip3 install -r /requirements.txt; \
|
2015-03-07 09:51:38 +01:00
|
|
|
mkdir /data
|
|
|
|
|
2016-04-13 08:30:13 +02:00
|
|
|
ADD app /app
|
2016-07-03 19:29:30 +02:00
|
|
|
ADD main.py /main.py
|
|
|
|
ADD config.py /config.py
|
2016-04-13 08:30:13 +02:00
|
|
|
|
2015-03-07 09:51:38 +01:00
|
|
|
VOLUME ["/data"]
|
2018-08-11 13:05:51 +02:00
|
|
|
VOLUME ["/app/config"]
|
2015-08-02 22:43:58 +02:00
|
|
|
EXPOSE 5000
|
2016-07-03 19:29:30 +02:00
|
|
|
ENTRYPOINT python3 /main.py
|