Skip to content

Commit

Permalink
chore(codespaces): add CodeSpaces config (#3632)
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n authored Jan 5, 2024
1 parent c906740 commit 0e5bcce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ARG VARIANT="20-bookworm"
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:1-${VARIANT}

# Install 20.3.0 version of Node.js using nvm
ARG EXTRA_NODE_VERSION="20.3.0"
RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"build": { "dockerfile": "Dockerfile" }
}

0 comments on commit 0e5bcce

Please sign in to comment.