From 2cc5bd4baa7a33c1f508c1c7c9a48563e7bb8550 Mon Sep 17 00:00:00 2001 From: PAlexanderFranklin Date: Wed, 20 Mar 2024 11:34:52 -0700 Subject: [PATCH] build docker file locally --- compose.yaml | 3 ++- images/production/Containerfile | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index f4d81b63..ad3e3720 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,7 +2,8 @@ x-customizable-image: &customizable_image # By default the image used only contains the `frappe` and `erpnext` apps. # See https://github.com/frappe/frappe_docker/blob/main/docs/custom-apps.md # about using custom images. - image: frappe/erpnext:${ERPNEXT_VERSION:?No ERPNext version set} + # image: frappe/erpnext:${ERPNEXT_VERSION:?No ERPNext version set} + build: ./images/production x-depends-on-configurator: &depends_on_configurator depends_on: diff --git a/images/production/Containerfile b/images/production/Containerfile index aeb625c3..dcac5b1d 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -124,6 +124,8 @@ FROM base as erpnext USER frappe +RUN mkdir testFolder + COPY --from=builder --chown=frappe:frappe /home/frappe/frappe-bench /home/frappe/frappe-bench WORKDIR /home/frappe/frappe-bench