2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-24 23:58:27 +00:00

Move gevent installation in Frappe step

This commit is contained in:
Lev Vereshchagin 2022-02-25 12:54:29 +03:00
parent 8a416bbad9
commit 9e5890ad39

View File

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