Skip to content

Commit d376f6a

Browse files
committed
fix website dev container
1 parent c4a36d3 commit d376f6a

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Rust",
2+
"name": "onefetch",
33
"build": {
44
"dockerfile": "Dockerfile",
55
"args": { "VARIANT": "buster" }
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
{
2-
"name": "Node.js & TypeScript",
3-
"image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye",
4-
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/onefetch,type=bind,consistency=cached",
5-
"workspaceFolder": "/workspaces/onefetch/docs/vercel",
2+
"name": "onefetch.dev",
3+
"image": "mcr.microsoft.com/devcontainers/typescript-node:22-bullseye",
64
"customizations": {
75
"vscode": {
86
"extensions": ["esbenp.prettier-vscode", "svelte.svelte-vscode"]
97
}
108
},
11-
"portsAttributes": {
12-
"3000": {
13-
"label": "onfetch.dev",
14-
"onAutoForward": "notify"
15-
}
16-
}
9+
"postCreateCommand": "npm install",
10+
"forwardPorts": [3000]
1711
}

0 commit comments

Comments
 (0)