summarization-api / Dockerfile
Anwar11234
modified Dockerfile
33a1b48
raw
history blame contribute delete
No virus
278 Bytes
FROM python:3.10.9
COPY . .
WORKDIR /
RUN mkdir -p /.cache/huggingface/hub
# Separate RUN command for chmod
RUN chmod -R 777 /.cache/huggingface
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]