arajshiva commited on
Commit
e43bebb
·
verified ·
1 Parent(s): f426d8e

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -9
Dockerfile CHANGED
@@ -17,13 +17,5 @@ COPY . .
17
  RUN pip install --upgrade pip
18
  RUN pip install -r requirements.txt
19
 
20
- # Streamlit configuration (optional, tweak if needed)
21
- ENV STREAMLIT_PORT=7860
22
- ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
23
- ENV STREAMLIT_SERVER_HEADLESS=true
24
-
25
- # Expose default port for Streamlit
26
- EXPOSE ${STREAMLIT_PORT}
27
-
28
  # Command to run the app
29
- CMD ["streamlit", "run", "app.py", "--server.port=$STREAMLIT_PORT", "--server.enableCORS=false"]
 
17
  RUN pip install --upgrade pip
18
  RUN pip install -r requirements.txt
19
 
 
 
 
 
 
 
 
 
20
  # Command to run the app
21
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.enableCORS=false"]