fix: ensure cache directory is writable by www-data #13
+2
-3
@@ -16,8 +16,7 @@ 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
|
|
||||||
|
|
||||||
USER www-data
|
USER www-data
|
||||||
|
|||||||
Reference in New Issue
Block a user