rollerverbrauch/Dockerfile

10 lines
158 B
Docker

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