mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 17:15:08 +00:00
20 lines
353 B
Docker
20 lines
353 B
Docker
# syntax=docker/dockerfile:1.3
|
|
|
|
ARG ERPNEXT_VERSION
|
|
FROM frappe/erpnext-worker:${ERPNEXT_VERSION}
|
|
|
|
USER root
|
|
|
|
ARG APP_NAME
|
|
COPY . ../apps/${APP_NAME}
|
|
|
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
|
install-app ${APP_NAME}
|
|
|
|
# or with git:
|
|
# ARG APP_NAME
|
|
# ARG BRANCH
|
|
# ARG GIT_URL
|
|
# RUN install-assets ${APP_NAME} ${BRANCH} ${GIT_URL}
|
|
|
|
USER frappe
|