From b6c6928073d5b3fe6eb7d84fc143eb42bcd95470 Mon Sep 17 00:00:00 2001 From: Hampus Date: Tue, 8 Sep 2026 14:51:19 +0200 Subject: [PATCH] fix(self-host): strip the caddy file capability in fluxer-static (#2578) --- fluxer_static/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fluxer_static/Dockerfile b/fluxer_static/Dockerfile index 76880a6e4..df46e5e81 100644 --- a/fluxer_static/Dockerfile +++ b/fluxer_static/Dockerfile @@ -28,7 +28,8 @@ COPY --chown=65532:65532 fluxer_static/emoji /srv/fluxer-static/emoji COPY --chown=65532:65532 fluxer_static/libs /srv/fluxer-static/libs COPY --chown=65532:65532 fluxer_static/web /srv/fluxer-static/web -RUN mkdir -p /config/caddy /data/caddy \ +RUN setcap -r /usr/bin/caddy \ + && mkdir -p /config/caddy /data/caddy \ && chown -R 65532:65532 /config /data /srv/fluxer-static USER 65532:65532