Update devcontainer.json

This commit is contained in:
Arpit Vasani
2022-05-28 20:33:47 +05:30
committed by GitHub
parent 4b0370ac08
commit d18b2b6a1f

View File

@@ -20,14 +20,11 @@
// Use 'forwardPorts' to make a list of ports inside the container available locally. // Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [], // "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created. // Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": [ "postCreateCommand": "cp .env.template .env && pnpm install",
"cp .env.template .env ",
"pnpm install"
],
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node", "remoteUser": "node",
"features": { "features": {
"docker-in-docker": "20.10", "docker-in-docker": "20.10",
"github-cli": "latest" "github-cli": "latest"
} }
} }