diff --git a/apps/nextcloud/templates/deployment.yaml b/apps/nextcloud/templates/deployment.yaml index fc3069d..7f5dabb 100644 --- a/apps/nextcloud/templates/deployment.yaml +++ b/apps/nextcloud/templates/deployment.yaml @@ -71,12 +71,10 @@ spec: mountPath: "/etc/letsencrypt" - name: copy-php image: nextcloud:20-fpm - command: - - rsync - - -a - - -v - - /var/www/html/ - - /var/www/nextcloud + command: [ "/bin/sh" ] + args: + - -c + - "/entrypoint.sh; rsync -a -v /var/www/html/ /var/www/nextcloud" volumeMounts: - name: nextcloud-php mountPath: "/var/www/nextcloud"