2021-08-05 22:30:35 +01:00
|
|
|
FROM python:alpine
|
2021-08-05 23:19:23 +01:00
|
|
|
RUN apk update
|
2021-08-05 23:21:27 +01:00
|
|
|
RUN apk add build-base python3 python3-pip ipython3 python-dev python3-dev
|
2021-07-06 14:09:06 +01:00
|
|
|
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
|