mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-24 20:34:10 +02:00
Split the examples into subfolders
This commit is contained in:
parent
fb58bbb039
commit
60ac9b728e
4 changed files with 2 additions and 0 deletions
13
.examples/dockerfiles/cron/fpm/Dockerfile
Normal file
13
.examples/dockerfiles/cron/fpm/Dockerfile
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