bep40 commited on
Commit
2fb94c7
·
verified ·
1 Parent(s): 84bdc1c

Restore Dockerfile for Docker Space

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+ RUN pip install --no-cache-dir flask gunicorn fastapi uvicorn[standard] beautifulsoup4 lxml requests httpx
3
+ COPY . /app
4
+ WORKDIR /app
5
+ EXPOSE 7860
6
+ CMD ["gunicorn", "-w", "2", "-k", "uvicorn.workers.UvicornWorker", "-b", "0.0.0.0:7860", "app_v2_entry:app"]