build docker file locally
This commit is contained in:
parent
0cef52c210
commit
2cc5bd4baa
@ -2,7 +2,8 @@ x-customizable-image: &customizable_image
|
|||||||
# By default the image used only contains the `frappe` and `erpnext` apps.
|
# 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
|
# See https://github.com/frappe/frappe_docker/blob/main/docs/custom-apps.md
|
||||||
# about using custom images.
|
# 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
|
x-depends-on-configurator: &depends_on_configurator
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -124,6 +124,8 @@ FROM base as erpnext
|
|||||||
|
|
||||||
USER frappe
|
USER frappe
|
||||||
|
|
||||||
|
RUN mkdir testFolder
|
||||||
|
|
||||||
COPY --from=builder --chown=frappe:frappe /home/frappe/frappe-bench /home/frappe/frappe-bench
|
COPY --from=builder --chown=frappe:frappe /home/frappe/frappe-bench /home/frappe/frappe-bench
|
||||||
|
|
||||||
WORKDIR /home/frappe/frappe-bench
|
WORKDIR /home/frappe/frappe-bench
|
||||||
|
Loading…
x
Reference in New Issue
Block a user