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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,6 +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"]
 
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 app.py .
5
  EXPOSE 7860
6
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]