A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
fix(self-host): strip the caddy file capability in fluxer-static (#2578)
Hampusb6c6928073d5
diff --git a/fluxer_static/Dockerfile b/fluxer_static/Dockerfileindex 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/emojiCOPY --chown=65532:65532 fluxer_static/libs /srv/fluxer-static/libsCOPY --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-staticUSER 65532:65532