From 0484bbb0c33b5890332be710808396b63dc309b1 Mon Sep 17 00:00:00 2001 From: Katos <7927609+katosdev@users.noreply.github.com> Date: Sun, 5 Jan 2025 16:32:08 +0000 Subject: [PATCH] Update Dockerfile.rootless --- Dockerfile.rootless | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile.rootless b/Dockerfile.rootless index caeabd47..6a80addd 100644 --- a/Dockerfile.rootless +++ b/Dockerfile.rootless @@ -72,6 +72,9 @@ RUN mkdir /app COPY --from=builder /go/bin/api /app RUN chmod +x /app/api +# Set ownership for required directories +RUN chown -R nonroot:nonroot /app /data /app/api + # Labels and configuration for the final image LABEL Name=homebox Version=0.0.1 LABEL org.opencontainers.image.source="https://github.com/sysadminsmedia/homebox"