From 620f2e4a9e4d4f508b37e7159842c3f13832bdd4 Mon Sep 17 00:00:00 2001 From: YiQiu Jia Date: Mon, 7 Jul 2025 15:21:57 +0800 Subject: [PATCH] fix(docker): remove USER app from custom Dockerfile to avoid startup error - Remove 'USER app' directive since the base image does not include the 'app' user - Ensures container can start successfully after installing git as root --- docker/Dockerfile.patch | 2 -- 1 file changed, 2 deletions(-) diff --git a/docker/Dockerfile.patch b/docker/Dockerfile.patch index 6ee3c35a35..699a738df5 100644 --- a/docker/Dockerfile.patch +++ b/docker/Dockerfile.patch @@ -1,8 +1,6 @@ FROM langgenius/dify-api:1.5.1 -USER root RUN apt-get update && apt-get install -y git \ && rm -rf /var/lib/apt/lists/* -USER app # docker build -f docker/Dockerfile.patch -t land007/dify-api:1.5.1 . \ No newline at end of file