SeaWolf-AI commited on
Commit
1bb730b
·
verified ·
1 Parent(s): 27e27a2

space: Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+ RUN pip install --no-cache-dir fastapi==0.115.6 uvicorn==0.34.0 huggingface_hub==0.27.1
3
+ WORKDIR /app
4
+ COPY app.py index.html /app/
5
+ ENV PYTHONUNBUFFERED=1
6
+ EXPOSE 7860
7
+ CMD ["uvicorn","app:app","--host","0.0.0.0","--port","7860"]