service-nextcloud/Dockerfile

11 lines
292 B
Docker

FROM owncloud:10.0.10
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
COPY docker-entry.sh /docker-entry.sh
CMD /docker-entry.sh