File size: 238 Bytes
a36e26c
 
 
 
 
 
1
2
3
4
5
6
FROM python:3.12-slim
WORKDIR /app
RUN pip install --no-cache-dir flask cloudscraper beautifulsoup4 lxml gunicorn
COPY app.py .
EXPOSE 7860
CMD ["gunicorn", "-b", "0.0.0.0:7860", "-w", "4", "--threads", "4", "--timeout", "120", "app:app"]