2 MAINTAINER Shaarli Community
6 && apt-get install --no-install-recommends -y \
18 COPY nginx.conf /etc/nginx/nginx.conf
19 COPY supervised.conf /etc/supervisor/conf.d/supervised.conf
21 ADD https://getcomposer.org/composer.phar /usr/local/bin/composer
22 RUN chmod 755 /usr/local/bin/composer
25 RUN git clone https://github.com/shaarli/Shaarli.git shaarli \
27 && composer --prefer-dist install
29 && echo "<?php phpinfo(); ?>" > index.php \
30 && chown -R www-data:www-data .
32 VOLUME /var/www/shaarli/data
36 CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"]