diff --git a/images/custom/Containerfile b/images/custom/Containerfile index a4b080c0..17022ae8 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -96,6 +96,7 @@ RUN export APP_INSTALL_ARGS="" && \ --skip-assets \ --apps_path=/opt/frappe/apps.json \ /home/frappe/frappe-bench && \ + echo "{}" > /home/frappe/frappe-bench/sites/common_site_config.json && \ cd /home/frappe/frappe-bench && \ bench setup requirements && \ find /home/frappe/frappe-bench/apps -mindepth 1 -path "*/.git" | xargs rm -fr diff --git a/images/production/Containerfile b/images/production/Containerfile index c9995164..8193cdef 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -86,7 +86,8 @@ RUN bench init \ --skip-redis-config-generation \ --verbose \ --skip-assets \ - /home/frappe/frappe-bench + /home/frappe/frappe-bench && \ + echo "{}" > /home/frappe/frappe-bench/sites/common_site_config.json WORKDIR /home/frappe/frappe-bench