Skip to content

Instantly share code, notes, and snippets.

@nvgoldin
Created June 10, 2021 12:30
Show Gist options
  • Save nvgoldin/354fd6c7ac190386a66615fbdad8c2e3 to your computer and use it in GitHub Desktop.
Save nvgoldin/354fd6c7ac190386a66615fbdad8c2e3 to your computer and use it in GitHub Desktop.
FROM python:3.9-slim-buster
WORKDIR /tor-scraper
RUN mkdir /tor-scraper/nltk_data
ENV NLTK_DATA=/tor-scraper/nltk_data
COPY nltk_data/ /tor-scraper/nltk_data/
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
#CMD [ "python3", "-c", 'nltk.corpus.stopwords.words(\"english\")' ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment