service-nextcloud/Dockerfile
2018-02-15 18:09:00 +01:00

10 lines
263 B
Docker

FROM owncloud:8.2.11
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