From 4478706b432ff73e91788bb31b856d9d3223bd3f Mon Sep 17 00:00:00 2001 From: bubuss Date: Mon, 9 Jun 2025 09:32:37 +0200 Subject: [PATCH] [fix] add missing dir creation and permissions in dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 22f0fb8..8d2b532 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,9 +21,10 @@ RUN mv data/docker_config.yml data/config.yml # Copy the uv binary into the container COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv -# Create cache directory for uv and set permissions +# Create cache and local directories for uv and set permissions RUN mkdir -p /home/appuser/.cache/uv && \ - chown -R appuser:appuser /home/appuser/.cache + mkdir -p /home/appuser/.local/share/uv && \ + chown -R appuser:appuser /home/appuser # Set ownership of the working directory to the non-root user RUN chown -R appuser:appuser /app