This repository has been archived on 2021-08-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ttrss/Dockerfile

36 lines
735 B
Docker

FROM nginx:1.15.7-alpine
RUN \
apk add --no-cache \
curl \
php7 \
php7-apcu \
php7-curl \
php7-dom \
php7-gd \
php7-iconv \
php7-intl \
php7-mcrypt \
php7-pcntl \
php7-pdo_pgsql \
php7-pgsql \
php7-posix \
php7-fpm \
php7-session \
php7-mbstring \
tar
RUN ln -sf /usr/bin/php7 /usr/bin/php
EXPOSE 80 443
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY ttrss.conf /etc/php7/php-fpm.d/ttrss.conf
COPY install-db.php /var/lib/tt-rss-install/install-db.php
ADD https://git.tt-rss.org/fox/tt-rss/archive/18.12.tar.gz /tmp/ttrss.tar.gz
RUN tar -xzf /tmp/ttrss.tar.gz -C /var/lib
COPY config.php /var/lib/tt-rss/config.php
CMD php-fpm7 && nginx -g "daemon off;"