Kaballas commited on
Commit
c4fb4a0
·
verified ·
1 Parent(s): fd3804f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -16,7 +16,7 @@ ENV HOME=/home/user \
16
 
17
  COPY --chown=user . /home/user/app
18
 
19
- # Use the documented installation and startup approach
20
- RUN python install.py --server-mode --enable-http-api
21
 
22
- CMD ["python", "scripts/run_http_server.py"]
 
 
 
16
 
17
  COPY --chown=user . /home/user/app
18
 
 
 
19
 
20
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
21
+
22
+