dockerized it

This commit is contained in:
Joachim Lusiardi
2015-03-07 09:51:38 +01:00
parent 0a778295b6
commit 00c6f6d71d
17 changed files with 43 additions and 332 deletions

View File

@@ -1,6 +1,9 @@
FROM debian8_python3
ADD app /app
RUN pip3 install -r /app/requirements.txt
RUN (cd /app; python3 init.py)
RUN pip3 install -r /app/requirements.txt; \
mkdir /data
VOLUME ["/data"]
ENTRYPOINT python3 /app/main.py