Merge remote-tracking branch 'origin/master' into 46-create-basic-website
[pub/jan/aic18.git] / service-analysis / Dockerfile
index b09b037ca229e61329248e89bc2f9d8c4dc77b79..be70c7c4eb2136b3b72f309eb7c74176110eb7e3 100644 (file)
@@ -1 +1,13 @@
-FROM alpine:latest
+FROM   python:3.7-slim
+LABEL  maintainer="Sebastian Steiner"
+
+WORKDIR        /app
+COPY   . /app/
+
+RUN            pip install -r requirements.txt
+
+RUN            python -m textblob.download_corpora
+
+RUN            chmod a+x *.py
+
+CMD            ["python3.7", "./sentiment_analysis.py"]