baderanas commited on
Commit
502a493
·
verified ·
1 Parent(s): c09c7e4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -51,14 +51,14 @@ RUN pip3 install -r requirements.txt
51
 
52
  # Set environment variables for Streamlit
53
  ENV STREAMLIT_SERVER_HEADLESS=true
54
- ENV STREAMLIT_SERVER_PORT=7861
55
  ENV STREAMLIT_SERVER_ENABLE_CORS=false
56
  ENV ES_HOST=localhost
57
  ENV ES_PORT=9200
58
  ENV ELASTICSEARCH_HOSTS="http://localhost:9200"
59
 
60
  # Expose required ports (Elasticsearch and Streamlit)
61
- EXPOSE 9200 7861
62
 
63
  # Switch to non-root user
64
  USER appuser
 
51
 
52
  # Set environment variables for Streamlit
53
  ENV STREAMLIT_SERVER_HEADLESS=true
54
+ ENV STREAMLIT_SERVER_PORT=7860
55
  ENV STREAMLIT_SERVER_ENABLE_CORS=false
56
  ENV ES_HOST=localhost
57
  ENV ES_PORT=9200
58
  ENV ELASTICSEARCH_HOSTS="http://localhost:9200"
59
 
60
  # Expose required ports (Elasticsearch and Streamlit)
61
+ EXPOSE 9200 7860
62
 
63
  # Switch to non-root user
64
  USER appuser