mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 21:33:02 +01:00
Update Dockerfile.rootless
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user