rollerverbrauch/Dockerfile

13 lines
221 B
Docker
Raw Permalink Normal View History

2015-03-06 21:58:53 +01:00
FROM debian8_python3
COPY app/requirements.txt /requirements.txt
RUN pip3 install -r /requirements.txt; \
2015-03-07 09:51:38 +01:00
mkdir /data
ADD app /app
2015-03-07 09:51:38 +01:00
VOLUME ["/data"]
VOLUME ["/app/config]
2015-08-02 22:43:58 +02:00
EXPOSE 5000
ENTRYPOINT python3 /app/main.py