File size: 260 Bytes
8dfe7b4
 
 
 
 
 
 
2d9ac02
8dfe7b4
41a8a9b
2d9ac02
8dfe7b4
2d9ac02
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.11-slim

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

# Expose the port your app runs on
EXPOSE 8080

# Run the app with Gunicorn
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:8080", "app:app"]