rollerverbrauch/Dockerfile

12 lines
199 B
Docker

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