Mdean77 commited on
Commit
c22996d
·
1 Parent(s): a52f107

More tweaks

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. entrypoint.sh +2 -2
Dockerfile CHANGED
@@ -15,7 +15,7 @@ ENV HOME=/home/user \
15
  PATH=/home/user/.local/bin:$PATH
16
 
17
 
18
- ENV PATH=/root/.local/bin:$PATH
19
 
20
  # # NEEDED FOR CHAINLIT IN HUGGING FACE SPACES
21
  ENV UVICORN_WS_PROTOCOL=websockets
 
15
  PATH=/home/user/.local/bin:$PATH
16
 
17
 
18
+ # ENV PATH=/root/.local/bin:$PATH
19
 
20
  # # NEEDED FOR CHAINLIT IN HUGGING FACE SPACES
21
  ENV UVICORN_WS_PROTOCOL=websockets
entrypoint.sh CHANGED
@@ -11,9 +11,9 @@ echo "Starting Qdrant server..."
11
  # done
12
  echo "Qdrant is ready!"
13
 
14
- chmod +x /root/.local/bin/uv
15
 
16
  # Start Chainlit application using Uvicorn
17
  echo "Starting Chainlit application..."
18
- /root/.local/bin/uv run chainlit run app.py --host 0.0.0.0 --port 7860
19
 
 
11
  # done
12
  echo "Qdrant is ready!"
13
 
14
+ # chmod +x /root/.local/bin/uv
15
 
16
  # Start Chainlit application using Uvicorn
17
  echo "Starting Chainlit application..."
18
+ uv run chainlit run app.py --host 0.0.0.0 --port 7860
19