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
2020-03-21 10:26:01 +01:00

52 lines
1.1 KiB
Docker

FROM nginx:1.17.9-alpine
RUN \
apk add --no-cache \
supervisor \
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 \
php7-json \
php7-fileinfo \
git \
tar
EXPOSE 80 443
RUN \
git clone https://git.tt-rss.org/fox/tt-rss.git /var/lib/tt-rss && \
cd /var/lib/tt-rss && \
git checkout 61be0b215db850395ef2746a5b7499f39db30662
WORKDIR /app
COPY CHECKS /app/CHECKS
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY php-fpm.conf /etc/php7/php-fpm.d/ttrss.conf
COPY install-db.php /var/lib/tt-rss-install/install-db.php
COPY supervisor.conf /var/lib/tt-rss-install/supervisor.conf
COPY manage-supervisord.py /var/lib/tt-rss-install/manage-supervisord.py
COPY config.php /var/lib/tt-rss/config.php
RUN \
chmod -R 777 /var/lib/tt-rss/cache && \
chmod -R 777 /var/lib/tt-rss/feed-icons && \
chmod -R 777 /var/lib/tt-rss/lock
RUN adduser -D ttrss
CMD supervisord -c /var/lib/tt-rss-install/supervisor.conf