mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
fix: add git to worker image
This commit is contained in:
parent
17197aca2c
commit
cf5e17db11
2 changed files with 1 additions and 3 deletions
|
|
@ -73,7 +73,7 @@ ENV NVM_DIR=/home/frappe/.nvm
|
||||||
ENV PATH ${NVM_DIR}/versions/node/v${NODE_VERSION}/bin/:${PATH}
|
ENV PATH ${NVM_DIR}/versions/node/v${NODE_VERSION}/bin/:${PATH}
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
# Setup Node lists
|
# Setup Node lists
|
||||||
&& apt-get install --no-install-recommends -y curl \
|
&& apt-get install --no-install-recommends -y curl git \
|
||||||
# NodeJS with NVM
|
# NodeJS with NVM
|
||||||
&& mkdir -p ${NVM_DIR} \
|
&& mkdir -p ${NVM_DIR} \
|
||||||
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash \
|
&& curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash \
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ APP=$1
|
||||||
|
|
||||||
cd /home/frappe/frappe-bench
|
cd /home/frappe/frappe-bench
|
||||||
|
|
||||||
rm -rf "apps/$APP/.git"
|
|
||||||
|
|
||||||
env/bin/pip install -e "apps/$APP"
|
env/bin/pip install -e "apps/$APP"
|
||||||
|
|
||||||
echo "$APP" >>sites/apps.txt
|
echo "$APP" >>sites/apps.txt
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue