GITOLITE.txt
[pub/jan/aic18.git] / service-analysis / Dockerfile
index b09b037ca229e61329248e89bc2f9d8c4dc77b79..508af5e584e4debe78a7440ed2d578b1407a1431 100644 (file)
@@ -1 +1,14 @@
-FROM alpine:latest
+FROM   python:3.7-slim
+LABEL  maintainer="Sebastian Steiner <sebastian.steiner@tuwien.ac.at>"
+
+WORKDIR        /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"]