Hemachandhra commited on
Commit
7e1744c
·
1 Parent(s): b1b7d54

final fix - remove auto inference run

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -4,6 +4,6 @@ WORKDIR /app
4
 
5
  COPY . .
6
 
7
- RUN pip install --no-cache-dir openai
8
 
9
- CMD ["bash", "-c", "python inference.py && tail -f /dev/null"]
 
4
 
5
  COPY . .
6
 
7
+ RUN pip install --no-cache-dir fastapi uvicorn openai
8
 
9
+ CMD ["uvicorn", "api.server:app", "--host", "0.0.0.0", "--port", "7860"]