Skip to content

Commit b40b1f4

Browse files
committed
fix(entrypoint): add entrypoint to dockerfile
1 parent 9f59afb commit b40b1f4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ RUN wget https://github.com/qdrant/qdrant/releases/download/v1.13.4/qdrant-x86_6
3232
LABEL "tee.launch_policy.allow_env_override"="OPEN_ROUTER_API_KEY"
3333
LABEL "tee.launch_policy.log_redirect"="always"
3434

35-
CMD ["uv", "run", "start-rag"]
35+
RUN chmod +x /app/start.sh
36+
37+
CMD ["/app/entrypoint.sh"]

entrypoint.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Start Qdrant
2+
qdrant --storage-type in_memory &
3+
4+
# Wait for Qdrant to initialize
5+
sleep 3
6+
7+
# Start RAG
8+
uv run start-rag

0 commit comments

Comments
 (0)