File size: 394 Bytes
2652fd1
d1fd5c0
 
 
 
 
af4e793
 
 
 
d1fd5c0
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.13.1

# Set the working directory in the container
WORKDIR /app

COPY requirements.txt .
RUN apt-get update && apt-get install -y \
    libgl1-mesa-glx \
    libglib2.0-0
    
RUN pip install --no-cache-dir -r requirements.txt

# Copy everything from the current directory to the container
COPY . .

EXPOSE 7860

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