Upload Dockerfile-1.txt

#1
Files changed (1) hide show
  1. Dockerfile-1.txt +6 -0
Dockerfile-1.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+ WORKDIR /app
3
+ RUN pip install --no-cache-dir flask cloudscraper beautifulsoup4 lxml gunicorn
4
+ COPY app.py .
5
+ EXPOSE 7860
6
+ CMD ["gunicorn", "-b", "0.0.0.0:7860", "-w", "4", "--threads", "4", "--timeout", "120", "app:app"]