2 MAINTAINER Shaarli Community
6 && apt-get install --no-install-recommends -y \
17 COPY nginx.conf /etc/nginx/nginx.conf
18 COPY supervised.conf /etc/supervisor/conf.d/supervised.conf
20 ADD https://getcomposer.org/composer.phar /usr/local/bin/composer
21 RUN chmod 755 /usr/local/bin/composer
24 RUN curl -L https://github.com/shaarli/Shaarli/archive/stable.tar.gz | tar xzf - \
25 && mv Shaarli-stable shaarli
27 && composer --prefer-dist --no-dev install
29 && chown -R www-data:www-data .
31 VOLUME /var/www/shaarli/data
35 CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"]