Update Dockerfile.rootless

This commit is contained in:
Katos
2025-01-05 16:32:08 +00:00
committed by GitHub
parent 5009879f9f
commit 0484bbb0c3

View File

@@ -72,6 +72,9 @@ RUN mkdir /app
COPY --from=builder /go/bin/api /app COPY --from=builder /go/bin/api /app
RUN chmod +x /app/api 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 # Labels and configuration for the final image
LABEL Name=homebox Version=0.0.1 LABEL Name=homebox Version=0.0.1
LABEL org.opencontainers.image.source="https://github.com/sysadminsmedia/homebox" LABEL org.opencontainers.image.source="https://github.com/sysadminsmedia/homebox"