repositories
/
mbt-docker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix permission issue at npm link usage
[mbt-docker.git]
/
Dockerfile
diff --git
a/Dockerfile
b/Dockerfile
index 6cdb0809a50b8c0a0191d27b275bbb3c05b60275..3dd48fa500256534275832de98f40551bcb07fa3 100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-188,6
+188,9
@@
RUN set -ex \
&& python3 --version
# Allow global npm packages install without sudo
+RUN set -ex \
+ && mkdir ${USER_HOME_DIR}/.npm-global \
+ && chown -R ${USER}:${USER} ${USER_HOME_DIR}
ENV NPM_CONFIG_PREFIX ${USER_HOME_DIR}/.npm-global
WORKDIR /project