vision-bot/posting/Dockerfile

9 lines
292 B
Docker

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