Lokiiparihar commited on
Commit
59952ee
·
verified ·
1 Parent(s): fdf8ca5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -7,7 +7,8 @@ COPY . .
7
  RUN pip install --upgrade pip \
8
  && pip install --no-cache-dir -r requirements.txt
9
 
10
- CMD ["streamlit", "run", "app.py", \
11
- "--server.port=7860", \
12
- "--server.address=0.0.0.0", \
 
13
  "--server.enableXsrfProtection=false"]
 
7
  RUN pip install --upgrade pip \
8
  && pip install --no-cache-dir -r requirements.txt
9
 
10
+ CMD ["python", "-m", "streamlit", "run", "app.py",
11
+ "--server.port=7860",
12
+ "--server.address=0.0.0.0",
13
+ "--server.headless=true",
14
  "--server.enableXsrfProtection=false"]