diff --git a/images/production/Containerfile b/images/production/Containerfile index 853f12ff..a3ba9167 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -102,7 +102,8 @@ RUN bench init \ cd /home/frappe/frappe-bench && \ bench get-app --branch=${ERPNEXT_BRANCH} --resolve-deps erpnext ${ERPNEXT_REPO} && \ echo "$(jq 'del(.db_host, .redis_cache, .redis_queue, .redis_socketio)' sites/common_site_config.json)" \ - > sites/common_site_config.json + > sites/common_site_config.json && \ + find apps -name .git -type d -prune | xargs -i git --git-dir {} remote rm upstream FROM base as erpnext