new-space / Dockerfile
vinni1484's picture
Add application file
f7e9ec5
raw
history blame
257 Bytes
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"]