summaryrefslogtreecommitdiff
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json14
1 files changed, 11 insertions, 3 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 7ec99b2..96b1a1b 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,5 +1,12 @@
{
- "image": "ghcr.io/cachix/devenv:latest",
+ "name": "website",
+ "build": {
+ "dockerfile": "Dockerfile",
+ "args": {
+ "VARIANT": "18-bullseye",
+ "NODE_VERSION": "18.16.0"
+ }
+ },
"waitFor": "onCreateCommand",
"updateContentCommand": "pnpm install",
@@ -12,7 +19,6 @@
"vscode": {
"extensions": [
"astro-build.astro-vscode",
- "mkhl.direnv",
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint",
"github.vscode-github-actions",
@@ -35,5 +41,7 @@
}
},
- "forwardPorts": [3000]
+ "forwardPorts": [3000],
+
+ "remoteUser": "node"
}