From 07a3be8dc9e5e393feb162ff4f65cefefc2150d4 Mon Sep 17 00:00:00 2001 From: Glenn Rolland Date: Thu, 6 Jul 2017 11:04:36 +0000 Subject: [PATCH] Dockerfile created online with Bitbucket --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile 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 +