Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
chore(build): Optimize Docker build configuration and process
begoniezhaoa5c3623a02eb
diff --git a/docker/Dockerfile.app b/docker/Dockerfile.appindex 0ae72e14f..38693572a 100644--- a/docker/Dockerfile.app+++ b/docker/Dockerfile.app@@ -24,6 +24,7 @@ RUN go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrateCOPY go.mod go.sum ./RUN --mount=type=cache,target=/go/pkg/mod go mod downloadRUN --mount=type=cache,target=/go/pkg/mod cp -r /go/pkg/mod/github.com/yanyiwu/ /app/yanyiwu/+COPY . .# Get version and commit info for build injectionARG VERSION_ARG@@ -38,7 +39,6 @@ ENV BUILD_TIME=${BUILD_TIME_ARG}ENV GO_VERSION=${GO_VERSION_ARG}# Build the application with version info-COPY . .RUN --mount=type=cache,target=/go/pkg/mod make build-prod# Final stage