mirror of
https://github.com/nextcloud/docker.git
synced 2025-07-31 10:38:05 +02:00
Merge 026307a3f6
into f7b20139eb
This commit is contained in:
commit
7b06a1b26d
43 changed files with 480 additions and 178 deletions
|
@ -10,7 +10,7 @@ RUN set -ex; \
|
|||
; \
|
||||
\
|
||||
rm /var/spool/cron/crontabs/root; \
|
||||
echo '*/5 * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data
|
||||
echo '*/5 * * * * occ-cron' > /var/spool/cron/crontabs/www-data
|
||||
|
||||
# install the PHP extensions we need
|
||||
# see https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html
|
||||
|
@ -136,7 +136,8 @@ RUN set -ex; \
|
|||
chmod +x /usr/src/nextcloud/occ; \
|
||||
apk del --no-network .fetch-deps
|
||||
|
||||
COPY *.sh upgrade.exclude /
|
||||
COPY entrypoint.sh cron.sh upgrade.exclude /
|
||||
COPY occ occ-cron /usr/local/bin/
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue