mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 13:23:14 +01:00
Update Dockerfile.rootless
This commit is contained in:
@@ -44,7 +44,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
|
|||||||
RUN chown -R nonroot:nonroot /go/bin/api /go/src/app
|
RUN chown -R nonroot:nonroot /go/bin/api /go/src/app
|
||||||
|
|
||||||
# Production stage with distroless
|
# Production stage with distroless
|
||||||
FROM ghcr.io/distroless/static:latest
|
FROM ghcr.io/distroless/base:latest
|
||||||
|
|
||||||
ENV HBOX_MODE=production
|
ENV HBOX_MODE=production
|
||||||
ENV HBOX_STORAGE_DATA=/data/
|
ENV HBOX_STORAGE_DATA=/data/
|
||||||
|
|||||||
Reference in New Issue
Block a user