Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"image": "docker.io/node:22-alpine",
"mounts": [
"type=bind,source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/root/.ssh"
],
"customizations": {
"vscode": {
"extensions": [
]
}
},
"features": {
"ghcr.io/cirolosapio/devcontainers-features/alpine-openssh:0": {},
"ghcr.io/cirolosapio/devcontainers-features/alpine-git:0": {}
},
"forwardPorts": [3000],
"shutdownAction": "stopContainer",
"containerEnv": {
"NODE_ENV": "development"
}
}
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ no-as-service/
├── index.js # Express API
├── reasons.json # 1000+ universal rejection reasons
├── package.json
├── .devcontainer.json # VS Code / Github devcontainer setup
└── README.md
```

Expand Down Expand Up @@ -118,6 +119,10 @@ For reference, here’s the package config:

---

## ⚓ Devcontainer

If you open this repo in Github Codespaces, it will automatically use `.devcontainer.json` to set up your environment. If you open it in VSCode, it will ask you if you want to reopen it in a container.

## 👤 Author

Created with creative stubbornness by [hotheadhacker](https://github.com/hotheadhacker)
Expand Down