Fix in-place upgrading of TT-RSS

This commit is contained in:
billt2006
2014-11-12 02:43:18 -05:00
parent f6e953765f
commit 9f3d09245a
4 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ RUN ln -s /etc/nginx/sites-available/ttrss /etc/nginx/sites-enabled/ttrss
RUN rm /etc/nginx/sites-enabled/default
# install ttrss and patch configuration
RUN git clone https://github.com/gothfox/Tiny-Tiny-RSS.git /var/www
WORKDIR /var/www
RUN git clone https://github.com/gothfox/Tiny-Tiny-RSS.git /var/www/tt-rss
WORKDIR /var/www/tt-rss
RUN cp config.php-dist config.php
RUN sed -i -e "/'SELF_URL_PATH'/s/ '.*'/ 'http:\/\/localhost\/'/" config.php
RUN chown www-data:www-data -R /var/www