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
feat: 更新Dockerfile,调整uvx权限,升级node版本
wizardchen46fc21f18297
diff --git a/docker/Dockerfile.app b/docker/Dockerfile.appindex 94a8b3b0e..93fac8208 100644--- a/docker/Dockerfile.app+++ b/docker/Dockerfile.app@@ -51,20 +51,25 @@ WORKDIR /appARG APK_MIRROR_ARG="mirrors.tencent.com"+# Create a non-root user first+RUN id -u appuser >/dev/null 2>&1 || adduser -D -g '' appuser+RUN if [ -n "$APK_MIRROR_ARG" ]; then \sed -i "[email protected]@${APK_MIRROR_ARG}@g" /etc/apk/repositories; \fi && \apk update && apk upgrade && \apk add --no-cache build-base postgresql-client mysql-client ca-certificates tzdata sed curl bash vim wget \- nodejs npm python3 py3-pip python3-dev libffi-dev openssl-dev cargo && \+ python3 py3-pip python3-dev libffi-dev openssl-dev && \python3 -m pip install --break-system-packages --upgrade pip setuptools wheel && \- # 使用官方安装脚本安装 uvx- curl -LsSf https://astral.sh/uv/install.sh | sh && \- ln -sf /root/.cargo/bin/uvx /usr/local/bin/uvx--# Create a non-root user and switch to it+ apk add --no-cache nodejs-current npm && \+ mkdir -p /home/appuser/.local/bin && \+ curl -LsSf https://astral.sh/uv/install.sh | CARGO_HOME=/home/appuser/.cargo UV_INSTALL_DIR=/home/appuser/.local/bin sh && \+ chown -R appuser:appuser /home/appuser && \+ ln -sf /home/appuser/.local/bin/uvx /usr/local/bin/uvx && \+ chmod +x /usr/local/bin/uvx++# Create data directories and set permissionsRUN mkdir -p /data/files && \- id -u appuser >/dev/null 2>&1 || adduser -D -g '' appuser && \chown -R appuser:appuser /app /data/files# Copy migrate tool from builder stage