fix: ensure cache directory is writable by www-data
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Successful in 14s

This commit is contained in:
Sagent
2026-06-29 16:06:46 +00:00
parent 1c2e971560
commit 7900615c0a
+2 -3
View File
@@ -16,8 +16,7 @@ RUN curl -s -L "https://github.com/RSS-Bridge/rss-bridge/tarball/master/" -o /tm
# Configure RSS-Bridge
RUN echo "*" > "/app/public/whitelist.txt" && \
mkdir -p /app/public/cache && \
chown -R www-data:www-data /app/public
RUN chown www-data:www-data /data/caddy && chmod 2770 /data/caddy
chown -R www-data:www-data /app/public && \
chmod -R 775 /app/public/cache
USER www-data