GITOLITE.txt
[pub/jan/aic18.git] / service-analysis / Dockerfile
index ad239ec90879ddb796656346ce9b6524ae2908eb..508af5e584e4debe78a7440ed2d578b1407a1431 100644 (file)
@@ -1,11 +1,14 @@
 FROM   python:3.7-slim
-LABEL  maintainer="Sebastian Steiner"
+LABEL  maintainer="Sebastian Steiner <sebastian.steiner@tuwien.ac.at>"
 
 WORKDIR        /app
-COPY   . /app/
+COPY   *.py /app/
+COPY   *.txt /app/
 
 RUN            pip install -r requirements.txt
 
+RUN            python -m textblob.download_corpora
+
 RUN            chmod a+x *.py
 
 CMD            ["python3.7", "./sentiment_analysis.py"]