From bf5a69cee4504aee0c510595d97e13f4c984e2bf Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 13 Jul 2023 17:08:05 +0530 Subject: [PATCH] use node 18 for docker --- docker/init.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/init.sh b/docker/init.sh index ecd6220e..54afbac5 100644 --- a/docker/init.sh +++ b/docker/init.sh @@ -8,6 +8,8 @@ else echo "Creating new bench..." fi +export PATH="${NVM_DIR}/versions/node/v${NODE_VERSION_DEVELOP}/bin/:${PATH}" + bench init --skip-redis-config-generation frappe-bench cd frappe-bench @@ -36,4 +38,4 @@ bench --site lms.localhost clear-cache bench --site lms.localhost set-config mute_emails 1 bench use lms.localhost -bench start \ No newline at end of file +bench start