From: Jérôme Benoit Date: Fri, 20 Jan 2023 16:13:08 +0000 (+0100) Subject: Add missing npm global directory creation X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=322536bbde32536b35e5522f07ad61cac9a7f159;p=mbt-docker.git Add missing npm global directory creation Signed-off-by: Jérôme Benoit --- diff --git a/Dockerfile b/Dockerfile index 6cdb080..8d4d407 100644 --- a/Dockerfile +++ b/Dockerfile @@ -188,6 +188,7 @@ RUN set -ex \ && python3 --version # Allow global npm packages install without sudo +RUN mkdir ${USER_HOME_DIR}/.npm-global ENV NPM_CONFIG_PREFIX ${USER_HOME_DIR}/.npm-global WORKDIR /project