Dask_NLP_PipeLine / Dockerfile
MukeshKapoor25's picture
docker
9a99455
raw
history blame contribute delete
257 Bytes
FROM python:3.10-slim
ENV HF_HOME=/app/cache
ENV DOCKER=true
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app app
COPY cache cache
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]