diff --git a/custom_app/backend.Dockerfile b/custom_app/backend.Dockerfile index 33a58fa8..8febe6cc 100644 --- a/custom_app/backend.Dockerfile +++ b/custom_app/backend.Dockerfile @@ -1,3 +1,4 @@ +# syntax=docker/dockerfile:1.3 ARG FRAPPE_VERSION FROM frappe/erpnext-worker:${FRAPPE_VERSION} @@ -6,7 +7,8 @@ USER root ARG APP_NAME COPY . ../apps/${APP_NAME} -RUN install-app ${APP_NAME} +RUN --mount=type=cache,target=/root/.cache/pip \ + install-app ${APP_NAME} # or with git: # ARG APP_NAME