mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-26 08:38:25 +00:00
Move gevent installation in Frappe step
This commit is contained in:
parent
8a416bbad9
commit
9e5890ad39
@ -16,7 +16,7 @@ WORKDIR /home/frappe/frappe-bench
|
|||||||
|
|
||||||
RUN pip install --no-cache-dir -U pip wheel \
|
RUN pip install --no-cache-dir -U pip wheel \
|
||||||
&& python -m venv env \
|
&& 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
|
USER root
|
||||||
|
|
||||||
|
|
||||||
@ -45,6 +45,7 @@ FROM build_deps as frappe_builder
|
|||||||
ARG FRAPPE_VERSION
|
ARG FRAPPE_VERSION
|
||||||
RUN git clone --depth 1 -b ${FRAPPE_VERSION} https://github.com/frappe/frappe apps/frappe \
|
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 -e apps/frappe \
|
||||||
|
&& env/bin/pip install --no-cache-dir -U gevent \
|
||||||
&& rm -r apps/frappe/.git
|
&& rm -r apps/frappe/.git
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user