mirror of
https://github.com/hotheadhacker/no-as-a-service.git
synced 2026-04-28 22:57:57 -05:00
21
.devcontainer.json
Normal file
21
.devcontainer.json
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
```
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user