Skip to content

Commit

Permalink
Merge pull request #12 from wmeints/add-devcontainer
Browse files Browse the repository at this point in the history
Add devcontainer support
  • Loading branch information
wmeints authored Jul 31, 2024
2 parents 8d181ae + 50a06cb commit 9de1aeb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM mcr.microsoft.com/devcontainers/dotnet:8.0

# Install Node.js 20 using the devcontainer feature
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y nodejs
8 changes: 8 additions & 0 deletions devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"image": "mcr.microsoft.com/devcontainers/dotnet:8.0",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "20"
}
}
}

0 comments on commit 9de1aeb

Please sign in to comment.