File size: 257 Bytes
327db33
 
0cb194c
444ebf5
7fbbdc4
327db33
 
 
 
 
 
9a99455
327db33
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"]