fix: build (git folders)

This commit is contained in:
Bohdan Kucherivayi 2024-02-15 14:43:59 +02:00
parent 731c9f608f
commit a858f2c11a
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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