build docker file locally

This commit is contained in:
PAlexanderFranklin 2024-03-20 11:34:52 -07:00
parent 0cef52c210
commit 2cc5bd4baa
2 changed files with 4 additions and 1 deletions

View File

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

View File

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