diff --git a/Dockerfile b/Dockerfile index 2c3c344..7fc6be3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -131,12 +131,11 @@ 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" ]