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:
parent
15814fde99
commit
2fcbef5c18
6 changed files with 0 additions and 0 deletions
13
.examples/Dockerfile.cron
Normal file
13
.examples/Dockerfile.cron
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue