Spaces:
Paused

File size: 322 Bytes
2d6ecce
d36ffdb
2d6ecce
d36ffdb
2d6ecce
 
 
1
2
3
4
5
6
7
8
FROM python:3.12-slim
RUN apt-get update && apt-get install -y curl aria2 ripgrep && rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN pip install --no-cache-dir fastapi uvicorn python-multipart huggingface_hub[hf_xet] jinja2 requests
COPY app.py .
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]