From 9e5890ad398a153ff6f6d5b628683cc846dec0f5 Mon Sep 17 00:00:00 2001 From: Lev Vereshchagin Date: Fri, 25 Feb 2022 12:54:29 +0300 Subject: [PATCH] Move gevent installation in Frappe step --- build/worker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/worker/Dockerfile b/build/worker/Dockerfile index 86ac846e..8dfac8dd 100644 --- a/build/worker/Dockerfile +++ b/build/worker/Dockerfile @@ -16,7 +16,7 @@ WORKDIR /home/frappe/frappe-bench RUN pip install --no-cache-dir -U pip wheel \ && python -m venv env \ - && env/bin/pip install --no-cache-dir -U pip wheel gevent + && env/bin/pip install --no-cache-dir -U pip wheel USER root @@ -45,6 +45,7 @@ FROM build_deps as frappe_builder ARG FRAPPE_VERSION RUN git clone --depth 1 -b ${FRAPPE_VERSION} https://github.com/frappe/frappe apps/frappe \ && env/bin/pip install --no-cache-dir -e apps/frappe \ + && env/bin/pip install --no-cache-dir -U gevent \ && rm -r apps/frappe/.git