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

# Set working directory
WORKDIR /app

# Install Python dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt

# Copy all files into the container
COPY . .

# Expose the port your app runs on (example: 5000 for Flask)
EXPOSE 5000

# Start the app
CMD ["python", "app.py"]