mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
Updated custom Containerfile to solve custom app download issue
Updated custom Containerfile to solve custom app download issue as there was error downloading custom apps from user git
This commit is contained in:
parent
ede911af0a
commit
ae23f28312
1 changed files with 1 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ ARG FRAPPE_PATH=https://github.com/frappe/frappe
|
||||||
RUN export APP_INSTALL_ARGS="" && \
|
RUN export APP_INSTALL_ARGS="" && \
|
||||||
if [ -n "${APPS_JSON_BASE64}" ]; then \
|
if [ -n "${APPS_JSON_BASE64}" ]; then \
|
||||||
export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; \
|
export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; \
|
||||||
|
cat /opt/frappe/apps.json | jq -r '.[] | "bench get-app --branch " + .branch + " --dev --ignore-apps-file " + .url' | sh; \
|
||||||
fi && \
|
fi && \
|
||||||
bench init ${APP_INSTALL_ARGS}\
|
bench init ${APP_INSTALL_ARGS}\
|
||||||
--frappe-branch=${FRAPPE_BRANCH} \
|
--frappe-branch=${FRAPPE_BRANCH} \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue