cbensimon HF staff commited on
Commit
422feae
·
1 Parent(s): 97eb18a

Fix Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM python:3.10
2
 
3
- RUN pip install fastapi[standard]
4
 
5
  COPY --link . .
6
 
7
- CMD ["uvicorn", "run", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
  FROM python:3.10
2
 
3
+ RUN pip install fastapi uvicorn[standard]
4
 
5
  COPY --link . .
6
 
7
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]