nlp-preprocessor / Dockerfile
amougou-fortiss's picture
Update Dockerfile
878ca93 verified
raw
history blame contribute delete
258 Bytes
FROM python:3.10-slim
WORKDIR /app
RUN pip install --upgrade pip
COPY requirements.txt .
RUN pip install -r requirements.txt
#RUN pip install --force-reinstall --no-cache-dir spacy==3.5.3 numpy thinc
COPY app.py .
EXPOSE 7860
CMD ["python", "app.py"]