Merge pull request #8 from zapal-tech/main

fix: build (git folders)
This commit is contained in:
Bohdan Kucheriavyi 2024-02-15 14:44:39 +02:00 committed by GitHub
commit 1eae6e76c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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