mirror of
https://github.com/XFox111/MuiCharts.git
synced 2026-04-22 06:51:05 +03:00
43 lines
1.5 KiB
JSON
43 lines
1.5 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-in-docker
|
|
{
|
|
"name": "MuiCharts",
|
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
|
"version": "latest",
|
|
"enableNonRootDocker": "true",
|
|
"moby": "false"
|
|
},
|
|
"ghcr.io/devcontainers/features/dotnet:2": {
|
|
"version": "latest"
|
|
},
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"nodeGypDependencies": true,
|
|
"version": "latest",
|
|
"nvmVersion": "latest"
|
|
}
|
|
},
|
|
|
|
// 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": {
|
|
// "workload": "sudo /usr/share/dotnet/dotnet workload update",
|
|
"eftool": "/usr/share/dotnet/dotnet tool install --global dotnet-ef",
|
|
"system": "sudo apt update && sudo apt upgrade -y",
|
|
"backend": "cd backend && /usr/share/dotnet/dotnet restore"
|
|
// "frontend": "cd frontend && yarn install"
|
|
},
|
|
"postStartCommand": "sudo /usr/share/dotnet/dotnet workload update",
|
|
|
|
// Configure tool-specific properties.
|
|
// "customizations": {},
|
|
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
// "remoteUser": "root"
|
|
}
|