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

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