mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-05 05:47:48 +02:00
Updated devcontainer
This commit is contained in:
parent
761305a93f
commit
919a100745
1 changed files with 3 additions and 6 deletions
|
@ -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"
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue