FROM python:alpine RUN apk update RUN apk add build-base python3 python3-pip ipython3 python-dev python3-dev 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