Browse Source

fix website dev container

pull/1441/head
o2sh 1 year ago
parent
commit
d376f6a22b
No known key found for this signature in database
GPG Key ID: 52B0310A9B921668
  1. 2
      .devcontainer/devcontainer.json
  2. 14
      .devcontainer/website/devcontainer.json

2
.devcontainer/devcontainer.json

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
{
"name": "Rust",
"name": "onefetch",
"build": {
"dockerfile": "Dockerfile",
"args": { "VARIANT": "buster" }

14
.devcontainer/website/devcontainer.json

@ -1,17 +1,11 @@ @@ -1,17 +1,11 @@
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/onefetch,type=bind,consistency=cached",
"workspaceFolder": "/workspaces/onefetch/docs/vercel",
"name": "onefetch.dev",
"image": "mcr.microsoft.com/devcontainers/typescript-node:22-bullseye",
"customizations": {
"vscode": {
"extensions": ["esbenp.prettier-vscode", "svelte.svelte-vscode"]
}
},
"portsAttributes": {
"3000": {
"label": "onfetch.dev",
"onAutoForward": "notify"
}
}
"postCreateCommand": "npm install",
"forwardPorts": [3000]
}

Loading…
Cancel
Save