service-nextcloud/Dockerfile

12 lines
300 B
Text
Raw Normal View History

2018-12-25 10:40:50 +00:00
FROM owncloud:10.0.10
RUN apt-get update && \
2018-12-25 11:23:52 +00:00
apt-get install -q -y cron vim git && \
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
2018-12-25 10:40:50 +00:00
COPY docker-entry.sh /docker-entry.sh
CMD /docker-entry.sh