File size: 245 Bytes
9ec7a95
 
 
 
 
1b7f791
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 ui.py ./
EXPOSE 7860
CMD ["gunicorn", "-b", "0.0.0.0:7860", "-w", "4", "--threads", "4", "--timeout", "120", "app:app"]