File size: 359 Bytes
23efbbc
2bbd737
23efbbc
2bbd737
 
23efbbc
 
 
6bc2781
ad801de
23efbbc
2bbd737
 
6bc2781
a6f1b11
2bbd737
23efbbc
a6f1b11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.10-slim

# Set working directory
WORKDIR /app

# Copy files
COPY requirements.txt /app/requirements.txt
COPY app.py /app/app.py
COPY new_gradio_app.py /app/new_gradio_app.py

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

# Expose Gradio's default port
EXPOSE 7860

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