Merge pull request 'fix: ensure cache directory is writable by www-data' (#13) from fix/cache-permissions into master
Main Release / test (push) Successful in 15s
Main Release / build (push) Successful in 12s
Main Release / tag (push) Successful in 13s
Tag Release / hadolint (push) Successful in 9s
Tag Release / test (push) Successful in 16s
Tag Release / build-push (push) Successful in 42s
Main Release / hadolint (push) Successful in 12s
Main Release / test (push) Successful in 15s
Main Release / build (push) Successful in 12s
Main Release / tag (push) Successful in 13s
Tag Release / hadolint (push) Successful in 9s
Tag Release / test (push) Successful in 16s
Tag Release / build-push (push) Successful in 42s
Main Release / hadolint (push) Successful in 12s
Reviewed-on: #13
This commit was merged in pull request #13.
This commit is contained in:
+2
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user