fix: rag resource must be a git repo (#1360)

This commit is contained in:
yetone
2025-02-23 15:11:18 +08:00
committed by GitHub
parent 27d3f294a4
commit 7255e16020
3 changed files with 12 additions and 5 deletions

View File

@@ -17,6 +17,9 @@ BUILD_DIR := build
BUILD_FROM_SOURCE ?= false
TARGET_LIBRARY ?= all
RAG_SERVICE_VERSION ?= 0.0.4
RAG_SERVICE_IMAGE := quay.io/yetoneful/avante-rag-service:$(RAG_SERVICE_VERSION)
all: luajit
define make_definitions
@@ -103,5 +106,5 @@ lua-typecheck:
.PHONY: build-image
build-image:
docker build -t quay.io/yetoneful/avante-rag-service:0.0.3 -f py/rag-service/Dockerfile py/rag-service
docker push quay.io/yetoneful/avante-rag-service:0.0.3
docker build -t $(RAG_SERVICE_IMAGE) -f py/rag-service/Dockerfile py/rag-service
docker push $(RAG_SERVICE_IMAGE)