FROM ubuntu | |
RUN apt-get update -y && \ | |
apt-get install -y python3 python3-pip git | |
WORKDIR /app | |
COPY . /app | |
RUN pip install --upgrade pip | |
RUN pip install -r requirements.txt | |
EXPOSE 4000 | |
CMD ["sh", "-c", "python3 -m spacy download en && python3 ./app.py"] |