diff --git a/Dockerfile b/Dockerfile index 7fc6be3..2c3c344 100644 --- a/Dockerfile +++ b/Dockerfile @@ -131,11 +131,12 @@ RUN apk add --no-cache \ php8-imap \ dcron +RUN ln -s /usr/sbin/crond /bin/crond + COPY --from=builder --chown=nginx:nginx /var/lib/nextcloud /var/lib/nextcloud RUN rm /etc/nginx/http.d/default.conf ADD /rootfs / -RUN ln -s /usr/sbin/crond /bin/crond VOLUME [ "/var/lib/nextcloud/data", "/var/lib/nextcloud/config" ] diff --git a/rootfs/var/spool/cron/crontabs/nginx b/rootfs/etc/crontabs/nginx similarity index 100% rename from rootfs/var/spool/cron/crontabs/nginx rename to rootfs/etc/crontabs/nginx