diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b6a8185 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM owncloud:8.2.9 + +RUN apt-get update && \ + apt-get install -q -y cron && \ + apt-get clean + +RUN echo "*/15 * * * * root su -l www-data -s /bin/bash -c 'php -f /var/www/html/cron.php' > /dev/null 2>&1" >> /etc/crontab + +CMD cron && apache2-foreground +