nyanya
commited on
Commit
•
fd91cd0
1
Parent(s):
d78cef3
fix npm1
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -111,7 +111,8 @@ RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
|
|
111 |
|
112 |
# NPM Global
|
113 |
RUN --mount=target=/root/npm_packages.txt,source=npm_packages.txt \
|
114 |
-
. "
|
|
|
115 |
|
116 |
|
117 |
#######################################
|
|
|
111 |
|
112 |
# NPM Global
|
113 |
RUN --mount=target=/root/npm_packages.txt,source=npm_packages.txt \
|
114 |
+
. "/app/.nvm/nvm.sh" && cat /root/npm_packages.txt | xargs npm install -g
|
115 |
+
|
116 |
|
117 |
|
118 |
#######################################
|