From 57950298d816caabd2ba90233042df7207734d71 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Sat, 10 Dec 2022 12:17:47 +0530 Subject: [PATCH] fix: add git to worker image --- images/worker/Dockerfile | 2 +- images/worker/install-app.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/images/worker/Dockerfile b/images/worker/Dockerfile index 20681c76..b724c7d6 100644 --- a/images/worker/Dockerfile +++ b/images/worker/Dockerfile @@ -73,7 +73,7 @@ ENV NVM_DIR=/home/frappe/.nvm ENV PATH ${NVM_DIR}/versions/node/v${NODE_VERSION}/bin/:${PATH} RUN apt-get update \ # Setup Node lists - && apt-get install --no-install-recommends -y curl \ + && apt-get install --no-install-recommends -y curl git \ # NodeJS with NVM && mkdir -p ${NVM_DIR} \ && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash \ diff --git a/images/worker/install-app.sh b/images/worker/install-app.sh index 93f7b9fc..320f14fd 100755 --- a/images/worker/install-app.sh +++ b/images/worker/install-app.sh @@ -6,8 +6,6 @@ APP=$1 cd /home/frappe/frappe-bench -rm -rf "apps/$APP/.git" - env/bin/pip install -e "apps/$APP" echo "$APP" >>sites/apps.txt