Spaces:
Sleeping
Sleeping
coyotte508
commited on
Commit
·
089a6f8
1
Parent(s):
9092d43
add devcontainer
Browse files
.devcontainer/devcontainer.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
| 2 |
+
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
|
| 3 |
+
{
|
| 4 |
+
"name": "Node.js & TypeScript",
|
| 5 |
+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
| 6 |
+
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
|
| 7 |
+
|
| 8 |
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
| 9 |
+
// "forwardPorts": [],
|
| 10 |
+
|
| 11 |
+
// Use 'postCreateCommand' to run commands after the container is created.
|
| 12 |
+
// "postCreateCommand": "yarn install",
|
| 13 |
+
|
| 14 |
+
// Configure tool-specific properties.
|
| 15 |
+
// "customizations": {},
|
| 16 |
+
|
| 17 |
+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
| 18 |
+
// "remoteUser": "root"
|
| 19 |
+
}
|