Files
rssbridge/Dockerfile
T

24 lines
680 B
Docker
Raw Normal View History

FROM dunglas/frankenphp:1-php8.5-alpine
2018-05-06 16:28:37 +00:00
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
2017-10-29 14:48:40 +00:00
2026-06-08 19:17:29 +00:00
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
2017-11-03 10:12:36 +01:00
WORKDIR /app
# Install required PHP extensions for RSS-Bridge
RUN install-php-extensions mbstring simplexml curl json iconv
COPY Caddyfile /etc/frankenphp/Caddyfile
# Download RSS-Bridge
RUN curl -s -L "https://github.com/RSS-Bridge/rss-bridge/tarball/master/" | tar -zx --strip=1 -C /app/public
# 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
USER www-data