From a858f2c11af9b4240e7bb0b6a539b42067a39ee4 Mon Sep 17 00:00:00 2001 From: Bohdan Kucherivayi Date: Thu, 15 Feb 2024 14:43:59 +0200 Subject: [PATCH] fix: build (git folders) --- images/custom/Containerfile | 3 +-- images/production/Containerfile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/images/custom/Containerfile b/images/custom/Containerfile index 0240d5b9..8250db80 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -131,8 +131,7 @@ RUN bench get-app --branch=${HRMS_BRANCH} --resolve-deps hrms ${HRMS_REPO} RUN echo "frappe\nhrms\nerpnext" > sites/apps.txt RUN echo "{}" > sites/common_site_config.json -# DO NOT REMOVE .git FOLDERS -# RUN find apps -mindepth 1 -path "*/.git" | xargs rm -fr +RUN find apps -mindepth 1 -path "*/.git" | xargs rm -fr FROM base as erp diff --git a/images/production/Containerfile b/images/production/Containerfile index a4505dba..8fe46340 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -125,8 +125,7 @@ RUN bench get-app --branch=${HRMS_BRANCH} --resolve-deps hrms ${HRMS_REPO} RUN echo "frappe\nhrms\nerpnext" > sites/apps.txt RUN echo "{}" > sites/common_site_config.json -# DO NOT REMOVE .git FOLDERS -# RUN find apps -mindepth 1 -path "*/.git" | xargs rm -fr +RUN find apps -mindepth 1 -path "*/.git" | xargs rm -fr FROM base as erp