From: Jérôme Benoit Date: Mon, 23 Jan 2023 11:03:31 +0000 (+0100) Subject: Fix permission issue at npm link usage X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=018f8f60240480651f219df6f3a27ef76d39fe98;p=mbt-docker.git Fix permission issue at npm link usage Signed-off-by: Jérôme Benoit --- diff --git a/Dockerfile b/Dockerfile index 733941d..3dd48fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -190,7 +190,7 @@ RUN set -ex \ # Allow global npm packages install without sudo RUN set -ex \ && mkdir ${USER_HOME_DIR}/.npm-global \ - && chown ${USER}:${USER} ${USER_HOME_DIR}/.npm-global + && chown -R ${USER}:${USER} ${USER_HOME_DIR} ENV NPM_CONFIG_PREFIX ${USER_HOME_DIR}/.npm-global WORKDIR /project