Avinash commited on
Commit
7dac948
·
1 Parent(s): e44faac

fix: include requirements.txt for docker build

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +2 -0
Dockerfile CHANGED
@@ -7,4 +7,4 @@ RUN pip install --no-cache-dir -r requirements.txt
7
  COPY . .
8
 
9
  EXPOSE 7860
10
- CMD ["python", "api.py"]
 
7
  COPY . .
8
 
9
  EXPOSE 7860
10
+ CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ fastapi
2
+ uvicorn[standard]