Add missing npm global directory creation
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 20 Jan 2023 16:13:08 +0000 (17:13 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 20 Jan 2023 16:13:08 +0000 (17:13 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Dockerfile

index 6cdb0809a50b8c0a0191d27b275bbb3c05b60275..8d4d40779e37984fb24340655bc4248e5d8ad358 100644 (file)
@@ -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