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