Rhodham96 commited on
Commit
43e09ed
·
1 Parent(s): 02136c1

changed port

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -16,13 +16,13 @@ RUN pip install --no-cache-dir streamlit genai pymupdf langchain
16
  COPY chat.py .
17
 
18
  # Expose Streamlit default port
19
- EXPOSE 8501
20
 
21
  # Set environment variables for Streamlit to run in the container
22
- ENV STREAMLIT_SERVER_PORT=8501
23
  ENV STREAMLIT_SERVER_HEADLESS=true
24
  ENV STREAMLIT_SERVER_ENABLECORS=false
25
  ENV STREAMLIT_SERVER_ENABLEWEBUI=false
26
 
27
  # Command to run the Streamlit app
28
- CMD ["streamlit", "run", "chat.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
16
  COPY chat.py .
17
 
18
  # Expose Streamlit default port
19
+ EXPOSE 7860
20
 
21
  # Set environment variables for Streamlit to run in the container
22
+ ENV STREAMLIT_SERVER_PORT=7860
23
  ENV STREAMLIT_SERVER_HEADLESS=true
24
  ENV STREAMLIT_SERVER_ENABLECORS=false
25
  ENV STREAMLIT_SERVER_ENABLEWEBUI=false
26
 
27
  # Command to run the Streamlit app
28
+ CMD ["streamlit", "run", "chat.py", "--server.port=7860", "--server.address=0.0.0.0"]