Skip to content

Commit

Permalink
chore: add devcontainer (#936)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxSchaefer authored Mar 17, 2024
1 parent 0739a75 commit 8c95568
Show file tree
Hide file tree
Showing 3 changed files with 22 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 @@
FROM node:20.11.1

# install pnpm
RUN npm install --global pnpm@8

CMD ["bash"]
14 changes: 14 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"build": {
dockerfile: "Dockerfile"
},
onCreateCommand: "pnpm install && pnpm run --filter '@helpwave/*' build",
features: {
"ghcr.io/devcontainers/features/sshd:1" : {}
},
"customizations": {
"vscode": {
"extensions": ["dbaeumer.vscode-eslint"]
}
}
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

The official helpwave web frontends.

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/helpwave/web)

[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/helpwave/web/badge)](https://securityscorecards.dev/viewer/?uri=github.com/helpwave/web)

---
Expand Down

0 comments on commit 8c95568

Please sign in to comment.