MB-IDK commited on
Commit
a36e26c
·
verified ·
1 Parent(s): de2a933

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile 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"]