rollerverbrauch/Dockerfile

15 lines
255 B
Docker
Raw Normal View History

2021-05-08 19:32:01 +02:00
FROM python:3
2015-03-06 21:58:53 +01:00
2016-07-03 19:29:30 +02:00
COPY requirements.txt /requirements.txt
2021-05-08 19:32:01 +02:00
RUN mkdir /data; \
pip3 install -r /requirements.txt;
2015-03-07 09:51:38 +01:00
ADD app /app
2016-07-03 19:29:30 +02:00
ADD main.py /main.py
ADD config.py /config.py
2015-03-07 09:51:38 +01:00
VOLUME ["/data"]
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