Spaces:
Sleeping
Sleeping
changed port
Browse files- 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
|
| 20 |
|
| 21 |
# Set environment variables for Streamlit to run in the container
|
| 22 |
-
ENV STREAMLIT_SERVER_PORT=
|
| 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=
|
|
|
|
| 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"]
|