mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
19 lines
350 B
Docker
19 lines
350 B
Docker
# syntax=docker/dockerfile:1.3
|
|
ARG FRAPPE_VERSION
|
|
FROM frappe/erpnext-worker:${FRAPPE_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
|