Bc-AI commited on
Commit
469cf42
·
verified ·
1 Parent(s): 4cbb604

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+ WORKDIR /app
3
+ RUN pip install --no-cache-dir fastapi==0.104.1 uvicorn[standard]==0.24.0 httpx==0.25.2
4
+ COPY head_node.py .
5
+ EXPOSE 7860
6
+ CMD ["uvicorn", "head_node:app", "--host", "0.0.0.0", "--port", "7860"]