fix: add git to worker image

This commit is contained in:
Revant Nandgaonkar 2022-12-10 12:17:47 +05:30
parent 19c5e5099c
commit 57950298d8
2 changed files with 1 additions and 3 deletions

View file

@ -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 \

View file

@ -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