docs: quick build command (#1500)

* docs: quick build command

* chore: fix pre-commit lint for md file
This commit is contained in:
Revant Nandgaonkar
2024-10-27 14:45:41 +05:30
committed by GitHub
parent 3d6fb8c4b1
commit a919f44505
2 changed files with 69 additions and 51 deletions

View File

@@ -1,8 +1,19 @@
ARG FRAPPE_BRANCH=version-15
ARG FRAPPE_PATH=https://github.com/frappe/frappe
FROM frappe/build:${FRAPPE_BRANCH} AS builder
ARG FRAPPE_BRANCH=version-15
ARG FRAPPE_PATH=https://github.com/frappe/frappe
ARG APPS_JSON_BASE64
USER root
RUN if [ -n "${APPS_JSON_BASE64}" ]; then \
mkdir /opt/frappe && echo "${APPS_JSON_BASE64}" | base64 -d > /opt/frappe/apps.json; \
fi
USER frappe
RUN export APP_INSTALL_ARGS="" && \
if [ -n "${APPS_JSON_BASE64}" ]; then \
export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; \