Dockerfile created online with Bitbucket
This commit is contained in:
parent
15b9436fc1
commit
07a3be8dc9
1 changed files with 10 additions and 0 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
@ -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
|
||||
|
Loading…
Reference in a new issue