self-hosting/roles/nextcloud-docker/files/nextcloud/app/Dockerfile

15 lines
376 B
Text
Raw Normal View History

2018-07-27 19:14:59 +02:00
FROM nextcloud:13.0.5-fpm
2018-01-10 20:11:08 +01:00
RUN apt-get update && apt-get install -y \
supervisor \
cron \
vim \
&& rm -rf /var/lib/apt/lists/*
2018-01-10 20:11:08 +01:00
RUN mkdir /var/log/supervisord /var/run/supervisord && \
echo "*/15 * * * * su - www-data -s /bin/bash -c \"php -f /var/www/html/cron.php\""| crontab -
COPY supervisord.conf /etc/supervisor/supervisord.conf
CMD ["/usr/bin/supervisord"]