added extensions to devcontainer and added github action build script

This commit is contained in:
2024-11-20 11:36:22 +01:00
parent 054063fd12
commit f467ce6609
2 changed files with 38 additions and 6 deletions

View File

@@ -4,22 +4,23 @@
"name": "React",
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [5173],
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
}
},
"extensions": [
"GitHub.vscode-github-actions",
"dbaeumer.vscode-eslint",
"GitHub.copilot",
"ms-vscode-remote.remote-containers"
]
}
},
"postCreateCommand": "npm install"
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}