prashantmatlani commited on
Commit
b9894dd
·
1 Parent(s): 8890ebd

modified Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -10,4 +10,4 @@ COPY . .
10
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- CMD ["sh", "-c", "if [ \"$RUN_MODE\" = \"server\" ]; then uvicorn server7860:app --host 0.0.0.0 --port 7860; else python inference.py; fi"]
 
10
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ CMD ["uvicorn", "server7860:app", "--host", "0.0.0.0", "--port", "7860"]