We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a479d4f commit 546d7e1Copy full SHA for 546d7e1
Dockerfile
@@ -1,11 +1,12 @@
1
-FROM node:16-bullseye AS base-with-deps
2
-
+FROM debian:bullseye-slim AS base-with-deps
3
ARG USERNAME=vscode
4
5
-# setup the vscode user for the developer
+RUN apt-get update && apt-get install -y curl
6
RUN groupadd -r $USERNAME \
7
&& useradd --no-log-init -rm -d /home/$USERNAME -s /bin/bash -g $USERNAME $USERNAME
8
USER $USERNAME
+RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash \
+ && . ~/.nvm/nvm.sh \
9
+ && nvm install --lts=hydrogen
10
WORKDIR /home/$USERNAME
11
12
# copy local repo into a volume
0 commit comments