X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=Dockerfile;h=235b3dd494d96e58c5156ba739116283a190afda;hb=f7497ddbde6b55f5fae58090e4f570dabf299844;hp=8d4d40779e37984fb24340655bc4248e5d8ad358;hpb=322536bbde32536b35e5522f07ad61cac9a7f159;p=mbt-docker.git diff --git a/Dockerfile b/Dockerfile index 8d4d407..235b3dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -188,7 +188,10 @@ RUN set -ex \ && python3 --version # Allow global npm packages install without sudo -RUN mkdir ${USER_HOME_DIR}/.npm-global +RUN set -ex \ + && mkdir ${USER_HOME_DIR}/.npm-global \ + && mkdir ${USER_HOME_DIR}/.npm-global/lib \ + && chown -R ${USER}:${USER} ${USER_HOME_DIR} ENV NPM_CONFIG_PREFIX ${USER_HOME_DIR}/.npm-global WORKDIR /project