subramaniansrc commited on
Commit
d7bced2
·
verified ·
1 Parent(s): 97ee189

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.10
2
 
3
  WORKDIR /app
4
 
@@ -8,6 +8,10 @@ RUN pip install --no-cache-dir -r requirements.txt
8
 
9
  COPY . .
10
 
 
 
 
 
11
  EXPOSE 7860
12
 
13
- CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
 
1
+ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
 
8
 
9
  COPY . .
10
 
11
+ ENV STREAMLIT_SERVER_PORT=7860
12
+ ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
13
+ ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
14
+
15
  EXPOSE 7860
16
 
17
+ CMD ["streamlit", "run", "app.py"]