2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-10 07:11:00 +00:00

Install Node in worker image

This commit is contained in:
Lev Vereshchagin 2021-12-15 11:50:46 +03:00
parent 9ae5a1f7bb
commit 6dc92c2d1a

View File

@ -66,6 +66,10 @@ RUN --mount=type=bind,target=/home/frappe/erpnext-wheels,source=/home/frappe/erp
FROM base as configured_base FROM base as configured_base
RUN apt-get update \ RUN apt-get update \
&& apt-get install --no-install-recommends -y curl \
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get purge -y --auto-remove curl \
&& apt-get update \
&& apt-get install --no-install-recommends -y \ && apt-get install --no-install-recommends -y \
# MariaDB # MariaDB
mariadb-client \ mariadb-client \
@ -77,6 +81,8 @@ RUN apt-get update \
wkhtmltopdf \ wkhtmltopdf \
# For healthcheck.sh in helm chart # For healthcheck.sh in helm chart
wait-for-it \ wait-for-it \
# other
nodejs \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
USER frappe USER frappe