diff --git a/images/custom/Containerfile b/images/custom/Containerfile index ff322921..3a16f952 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -116,8 +116,7 @@ RUN export APP_INSTALL_ARGS="" && \ --verbose \ /home/frappe/frappe-bench && \ cd /home/frappe/frappe-bench && \ - echo "$(jq 'del(.db_host, .redis_cache, .redis_queue, .redis_socketio)' sites/common_site_config.json)" \ - > sites/common_site_config.json && \ + echo "{}" > sites/common_site_config.json && \ find apps -mindepth 1 -path "*/.git" | xargs rm -fr FROM base as backend diff --git a/images/production/Containerfile b/images/production/Containerfile index 60b8bc3e..5f761c81 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -107,8 +107,7 @@ RUN bench init \ /home/frappe/frappe-bench && \ 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 && \ + echo "{}" > sites/common_site_config.json && \ find apps -mindepth 1 -path "*/.git" | xargs rm -fr FROM base as erpnext