From a60b0a108a173c2ce7542a3c521add4aca650965 Mon Sep 17 00:00:00 2001 From: Everett Wilber <71281043+a1cd@users.noreply.github.com> Date: Wed, 27 Aug 2025 18:46:31 -0400 Subject: [PATCH] Ensure data directory exists before chown --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7dba112f34..9c982e69e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -141,7 +141,7 @@ RUN pip3 install --no-cache-dir uv && \ else \ uv pip install --system -r requirements.txt --no-cache-dir; \ fi; \ - chown -R $UID:$GID /app/backend/data/ + mkdir -p /app/backend/data && chown -R $UID:$GID /app/backend/data/ # Install Ollama if requested RUN if [ "$USE_OLLAMA" = "true" ] && [ "$USE_SLIM" != "true" ]; then \