Spaces:
Runtime error
Runtime error
Cleaning up spaces
Browse files- Dockerfile +0 -1
- entrypoint.sh +0 -9
Dockerfile
CHANGED
@@ -7,7 +7,6 @@ RUN apt-get update && apt-get install -y \
|
|
7 |
|
8 |
ADD https://astral.sh/uv/install.sh /uv-installer.sh
|
9 |
RUN sh /uv-installer.sh && rm /uv-installer.sh
|
10 |
-
# ENV PATH="/root/.local/bin/:$PATH"
|
11 |
|
12 |
# # Set te home directory and path
|
13 |
ENV HOME=/home/user \
|
|
|
7 |
|
8 |
ADD https://astral.sh/uv/install.sh /uv-installer.sh
|
9 |
RUN sh /uv-installer.sh && rm /uv-installer.sh
|
|
|
10 |
|
11 |
# # Set te home directory and path
|
12 |
ENV HOME=/home/user \
|
entrypoint.sh
CHANGED
@@ -1,20 +1,11 @@
|
|
1 |
#!/bin/bash
|
2 |
-
|
3 |
# Start Qdrant in the background
|
4 |
echo "Starting Qdrant server..."
|
5 |
/qdrant/qdrant &
|
6 |
|
7 |
-
# Wait for Qdrant to be ready
|
8 |
-
# echo "Waiting for Qdrant to be ready..."
|
9 |
-
# until curl -s http://localhost:6333/health | grep '"status":"ok"'; do
|
10 |
-
# sleep 1
|
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 |
-
# ls -al /root/.local/bin/
|
19 |
uv run chainlit run app.py --host 0.0.0.0 --port 7860
|
20 |
|
|
|
1 |
#!/bin/bash
|
|
|
2 |
# Start Qdrant in the background
|
3 |
echo "Starting Qdrant server..."
|
4 |
/qdrant/qdrant &
|
5 |
|
|
|
|
|
|
|
|
|
|
|
6 |
echo "Qdrant is ready!"
|
7 |
|
|
|
|
|
8 |
# Start Chainlit application using Uvicorn
|
9 |
echo "Starting Chainlit application..."
|
|
|
10 |
uv run chainlit run app.py --host 0.0.0.0 --port 7860
|
11 |
|