File size: 332 Bytes
cec52dc
 
da185c9
cec52dc
 
7d253e7
cec52dc
 
 
7d253e7
cec52dc
 
da185c9
cec52dc
 
da185c9
cec52dc
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use a lightweight Python base
FROM python:3.10-slim

# Set working directory in container
WORKDIR /app

# Copy and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy your app code
COPY . .

# Expose the port the app runs on
EXPOSE 7860

# Run your app
CMD ["python", "app.py"]