From 919a100745a10b5a167955a49872174664229544 Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Tue, 15 Nov 2022 04:39:53 +0000 Subject: [PATCH] Updated devcontainer --- .devcontainer/devcontainer.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 31663ad..f3bfae5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,17 +1,14 @@ { "name": "Node.js & TypeScript", - "image": "mcr.microsoft.com/devcontainers/typescript-node:16", - "features": { - "ghcr.io/devcontainers/features/node:1": {} - }, + "image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye", // Features to add to the dev container. More info: https://containers.dev/implementors/features. // "features": {}, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "npm run build", + "postCreateCommand": "npm install && npm run build" // Configure tool-specific properties. // "customizations": {}, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. - "remoteUser": "root" + // "remoteUser": "root" } \ No newline at end of file