mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-06 06:14:57 +01:00
14 lines
362 B
Text
14 lines
362 B
Text
|
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"]
|