jaivsh commited on
Commit
0cf22f0
·
1 Parent(s): 8e4255b

update image and video deployments

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -11,10 +11,8 @@ RUN pip install --no-cache-dir -r requirements.txt
11
 
12
  COPY . .
13
 
14
- ENV SPACE_MODE=1 \
15
- STREAMLIT_SERVER_PORT=7860 \
16
- STREAMLIT_SERVER_ADDRESS=0.0.0.0
17
 
18
  EXPOSE 7860
19
 
20
- CMD ["streamlit", "run", "app.py"]
 
11
 
12
  COPY . .
13
 
14
+ ENV SPACE_MODE=1
 
 
15
 
16
  EXPOSE 7860
17
 
18
+ CMD ["uvicorn", "src.api.video_server:app", "--host", "0.0.0.0", "--port", "7860"]