prashasti commited on
Commit
e68fb5c
·
1 Parent(s): 5d68774

Changes for dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +2 -1
Dockerfile CHANGED
@@ -10,4 +10,4 @@ RUN pip install --no-cache-dir -r requirements.txt
10
  COPY . .
11
 
12
  # Default: run inference script across all 3 tasks
13
- CMD ["python", "inference.py"]
 
10
  COPY . .
11
 
12
  # Default: run inference script across all 3 tasks
13
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt CHANGED
@@ -1,2 +1,3 @@
1
  openai>=1.12.0
2
- pyyaml>=6.0
 
 
1
  openai>=1.12.0
2
+ pyyaml>=6.0
3
+ uvicorn