From 4c4ad963c9ee4d581961d8b9425c6b34370d7542 Mon Sep 17 00:00:00 2001 From: chabad360 Date: Wed, 1 Aug 2018 10:20:02 -0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7f5b9a14..cc6a5c51 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,11 +33,13 @@ USER frappe WORKDIR /home/frappe RUN git clone -b master https://github.com/frappe/bench.git bench-repo -USER root + RUN pip install -e bench-repo + +USER root RUN apt-get install -y libmysqlclient-dev mariadb-client mariadb-common RUN npm install -g yarn -RUN chown -R frappe:frappe /home/frappe/* USER frappe + WORKDIR /home/frappe/frappe-bench