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