Spaces:
Sleeping

File size: 371 Bytes
f0339bb
63c38c6
 
 
 
073596f
63c38c6
 
 
 
 
073596f
63c38c6
 
 
 
 
 
ca82348
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.10-slim-bookworm

RUN apt-get update && apt-get install -y \
    libgl1-mesa-glx \
    libglib2.0-0 \
    build-essential \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /code

COPY . .
COPY models/ models/

RUN pip install --upgrade pip
RUN pip install -r requirements.txt

EXPOSE 7860

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