nyanya
commited on
Commit
•
b632a6c
1
Parent(s):
0c22978
fix npm5
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -53,6 +53,7 @@ RUN curl -s https://api.github.com/repos/gitpod-io/openvscode-server/releases/la
|
|
53 |
tar -xzf /tmp/openvscode-server.tar.gz --strip-components=1 -C /app/openvscode-server
|
54 |
|
55 |
# Install NVM and set 16 as default
|
|
|
56 |
ENV NVM_DIR /app/.nvm
|
57 |
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash \
|
58 |
&& . "$NVM_DIR/nvm.sh" && nvm install 16 && nvm alias default 16
|
|
|
53 |
tar -xzf /tmp/openvscode-server.tar.gz --strip-components=1 -C /app/openvscode-server
|
54 |
|
55 |
# Install NVM and set 16 as default
|
56 |
+
RUN mkdir /app/.nvm
|
57 |
ENV NVM_DIR /app/.nvm
|
58 |
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash \
|
59 |
&& . "$NVM_DIR/nvm.sh" && nvm install 16 && nvm alias default 16
|