1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-05 13:57:47 +02:00

Updated devcontainer

This commit is contained in:
Sankalp Kotewar 2022-11-15 04:39:53 +00:00 committed by GitHub
parent 761305a93f
commit 919a100745
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,14 @@
{ {
"name": "Node.js & TypeScript", "name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:16", "image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye",
"features": {
"ghcr.io/devcontainers/features/node:1": {}
},
// Features to add to the dev container. More info: https://containers.dev/implementors/features. // Features to add to the dev container. More info: https://containers.dev/implementors/features.
// "features": {}, // "features": {},
// 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": "npm run build", "postCreateCommand": "npm install && npm run build"
// Configure tool-specific properties. // Configure tool-specific properties.
// "customizations": {}, // "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "root" // "remoteUser": "root"
} }