sanjayankur31 commited on
Commit
efc448f
·
verified ·
1 Parent(s): 364dbf5

feat: update configs

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -3
  2. scripts/docker-deploy.sh +1 -1
Dockerfile CHANGED
@@ -21,7 +21,7 @@ ENV KLEA_RAG_ENV_FILE="rag-hf.env"
21
 
22
  RUN pwd
23
  RUN ls -lash
24
- RUN --mount=type=cache,target=/home/user/.cache/uv,uid=1000,gid=1000 uv pip install './utils_pkg[chroma,huggingface]' './rag_pkg[chroma,huggingface]'
25
  RUN ls -lash "$VIRTUAL_ENV/bin/"
26
 
27
  RUN uv pip freeze
@@ -36,7 +36,5 @@ COPY --chown=user store/ /app/store/
36
  RUN ls -lash /app/*
37
 
38
  ENV RUNNING_IN_DOCKER=1
39
- ENV STREAMLIT_SERVER_PORT=7860
40
- ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
41
 
42
  CMD ["./scripts/docker-deploy.sh"]
 
21
 
22
  RUN pwd
23
  RUN ls -lash
24
+ RUN --mount=type=cache,target=/home/user/.cache/uv,uid=1000,gid=1000 uv pip install './utils_pkg[chroma,huggingface,nicegui,openai]' './mcp_pkg' './rag_pkg[chroma,huggingface,nicegui,openai]'
25
  RUN ls -lash "$VIRTUAL_ENV/bin/"
26
 
27
  RUN uv pip freeze
 
36
  RUN ls -lash /app/*
37
 
38
  ENV RUNNING_IN_DOCKER=1
 
 
39
 
40
  CMD ["./scripts/docker-deploy.sh"]
scripts/docker-deploy.sh CHANGED
@@ -14,4 +14,4 @@ echo "Starting fastapi"
14
  klea-rag-serve --host 127.0.0.1 --port 8005 &
15
 
16
  echo "Starting streamlit frontend"
17
- klea-rag web --title "OpenWorm AI Assistant" --subtitle "While this system uses information from curated sources, it may still make mistakes. Please check the answers. More information at https://openworm.org" --server "http://127.0.0.1:8005"
 
14
  klea-rag-serve --host 127.0.0.1 --port 8005 &
15
 
16
  echo "Starting streamlit frontend"
17
+ klea-rag web --title "OpenWorm AI Assistant" --subtitle "Ask questions about C elegans---sourced from the Worm Atlas and selected literature"--disclaimer "While this system uses information from curated sources, it may still make mistakes. Please check the answers. More information at https://openworm.org" --server "http://127.0.0.1:8005"