2020-09-03 16:14:57 +00:00
|
|
|
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
|
|
|
|
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.134.1/containers/typescript-node
|
|
|
|
|
{
|
2020-09-03 18:13:14 +00:00
|
|
|
"name": "Node.js & TypeScript",
|
|
|
|
|
"build": {
|
|
|
|
|
"dockerfile": "Dockerfile",
|
2021-10-27 08:42:23 +02:00
|
|
|
// Update 'VARIANT' to pick a Node version: 10, 12, 14...
|
2020-09-03 18:13:14 +00:00
|
|
|
"args": {
|
2022-10-28 15:14:57 +02:00
|
|
|
"VARIANT": "18"
|
2020-09-03 18:13:14 +00:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
|
|
|
"extensions": [
|
|
|
|
|
"octref.vetur",
|
2021-04-11 16:50:28 +02:00
|
|
|
"dbaeumer.vscode-eslint",
|
|
|
|
|
"esbenp.prettier-vscode",
|
|
|
|
|
"lokalise.i18n-ally",
|
|
|
|
|
"ryanluker.vscode-coverage-gutters"
|
2020-09-03 18:13:14 +00:00
|
|
|
],
|
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
|
|
|
"forwardPorts": [3000],
|
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
2021-03-01 18:53:51 +01:00
|
|
|
"postCreateCommand": "npm install",
|
2020-09-03 18:13:14 +00:00
|
|
|
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
|
|
|
|
// "remoteUser": "node"
|
|
|
|
|
"mounts": ["source=jellyfin-vue-history,target=/commandhistory,type=volume"]
|
|
|
|
|
}
|