fix: build process

This commit is contained in:
Bohdan Kucherivayi 2024-02-15 13:26:13 +02:00
parent 205ec78385
commit 731c9f608f
2 changed files with 4 additions and 2 deletions

View file

@ -131,7 +131,8 @@ 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
RUN find apps -mindepth 1 -path "*/.git" | xargs rm -fr
# DO NOT REMOVE .git FOLDERS
# RUN find apps -mindepth 1 -path "*/.git" | xargs rm -fr
FROM base as erp

View file

@ -125,7 +125,8 @@ 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
RUN find apps -mindepth 1 -path "*/.git" | xargs rm -fr
# DO NOT REMOVE .git FOLDERS
# RUN find apps -mindepth 1 -path "*/.git" | xargs rm -fr
FROM base as erp