From e9d81efcb057774a6e2952db04b9d09b84734772 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 20 May 2023 04:06:27 -0400 Subject: use dockerfile for devcontainer --- .devcontainer/devcontainer.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to '.devcontainer/devcontainer.json') 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" } -- cgit v1.2.3