FROM python:slim COPY . /usr/src/app WORKDIR /usr/src/app RUN pip install --upgrade pip RUN pip install -r requirements.txt RUN python -m nltk.downloader all CMD python3 -u ./script.py