Spaces:
Runtime error
Runtime error
Trying another approach
Browse files- Dockerfile +5 -2
- entrypoint.sh +1 -1
Dockerfile
CHANGED
@@ -2,10 +2,13 @@
|
|
2 |
|
3 |
FROM qdrant/qdrant:latest
|
4 |
RUN apt-get update && apt-get install -y \
|
5 |
-
curl \
|
6 |
&& rm -rf /var/lib/apt/lists/*
|
7 |
|
8 |
-
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
|
|
|
|
|
9 |
|
10 |
# # Set te home directory and path
|
11 |
ENV HOME=/home/user \
|
|
|
2 |
|
3 |
FROM qdrant/qdrant:latest
|
4 |
RUN apt-get update && apt-get install -y \
|
5 |
+
--no-install-recommends curl ca-certificates\
|
6 |
&& rm -rf /var/lib/apt/lists/*
|
7 |
|
8 |
+
# RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
9 |
+
ADD https://astral.sh/uv/install.sh /uv-installer.sh
|
10 |
+
RUN sh /uv-installer.sh && rm /uv-installer.sh
|
11 |
+
ENV PATH="/root/.local/bin/:$PATH"
|
12 |
|
13 |
# # Set te home directory and path
|
14 |
ENV HOME=/home/user \
|
entrypoint.sh
CHANGED
@@ -11,7 +11,7 @@ echo "Starting Qdrant server..."
|
|
11 |
# done
|
12 |
echo "Qdrant is ready!"
|
13 |
|
14 |
-
|
15 |
|
16 |
# Start Chainlit application using Uvicorn
|
17 |
echo "Starting Chainlit application..."
|
|
|
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..."
|