File size: 347 Bytes
a5a3bd9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7198a50
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.10

# Set working directory
WORKDIR /app

# Copy all project files
COPY . .

# Install dependencies
RUN pip install --upgrade pip
RUN pip install -r requirements.txt

# Expose port 7860 as required by Hugging Face
EXPOSE 7860

# Run the FastAPI app
CMD ["uvicorn", "app3:app", "--host", "0.0.0.0", "--port", "7860"]