File size: 324 Bytes
50428b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use an official Python image as a base
FROM python:3.9

# Set the working directory
WORKDIR /app

# Copy project files
COPY requirements.txt .
COPY app.py .

# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Expose port 7860 for Gradio
EXPOSE 7860

# Run the Gradio app
CMD ["python", "app.py"]