Created
July 29, 2018 18:33
-
-
Save AlphaGit/fa4d4c12867df6b5c1fb799dfc63bbf0 to your computer and use it in GitHub Desktop.
screaming-bot Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.7 | |
WORKDIR /usr/src/app | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
RUN python -m spacy download en | |
RUN python -c "import nltk; nltk.download('averaged_perceptron_tagger');" | |
RUN python -c "import nltk; nltk.download('gutenberg');" | |
VOLUME /usr/src/app/settings.py | |
VOLUME /usr/src/app/text_source.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment