diff --git a/Dockerfile b/Dockerfile index 1c82b2f..08db488 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ FROM debian8_python3 -ADD app /app -RUN pip3 install -r /app/requirements.txt; \ +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