use kaniko to build container in ci

This commit is contained in:
Sebastian Hugentobler 2022-02-14 08:44:14 +01:00
parent 62570aa7b8
commit 7b5ea70b29
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -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" ]