0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-16 16:14:47 +02:00

Fix failing docker build

This commit is contained in:
pierreozoux 2017-03-14 16:54:50 +00:00
parent 15814fde99
commit 2fcbef5c18
6 changed files with 0 additions and 0 deletions

13
.examples/Dockerfile.cron Normal file
View file

@ -0,0 +1,13 @@
FROM nextcloud:fpm
RUN apt-get update && apt-get install -y \
supervisor \
cron \
&& rm -rf /var/lib/apt/lists/*
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"]