File size: 275 Bytes
4d10b6c
 
 
 
0dbc2fd
4d10b6c
 
0dbc2fd
4d10b6c
7ce8c97
 
51047fb
0ba5983
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM python:3.11

WORKDIR /code

COPY backend/requirements.txt ./requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

ENV HF_HOME=/tmp
RUN mkdir -p /tmp && chmod -R 777 /tmp

CMD ["uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "7860"]