File size: 350 Bytes
61dbbe7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# πŸ”₯ MAXIMUM YEET LISTENER DOCKERFILE
FROM python:3.11-slim

# set working dir
WORKDIR /app

# copy app and install dependencies
COPY app.py .
COPY requirements.txt .

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

# expose port for FastAPI
EXPOSE 7860

# πŸ” Run with Uvicorn
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]