rollerverbrauch/Dockerfile
Joachim Lusiardi 879669b4f7 Updates os version to debian 9
Changes to debian9_python3 image because of outdated setup tools
Fixed a typo as well
2018-08-11 13:06:07 +02:00

15 lines
260 B
Docker

FROM debian9_python3
COPY requirements.txt /requirements.txt
RUN pip3 install -r /requirements.txt; \
mkdir /data
ADD app /app
ADD main.py /main.py
ADD config.py /config.py
VOLUME ["/data"]
VOLUME ["/app/config"]
EXPOSE 5000
ENTRYPOINT python3 /main.py