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