43 lines
978 B
JSON
43 lines
978 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "docker-build",
|
|
"label": "docker-build",
|
|
"platform": "node",
|
|
"dockerBuild": {
|
|
"dockerfile": "${workspaceFolder}/apps/node/Dockerfile",
|
|
"context": "${workspaceFolder}/apps/node",
|
|
"pull": true
|
|
},
|
|
"node": {
|
|
"package": "${workspaceFolder}/apps/node/package.json"
|
|
}
|
|
},
|
|
{
|
|
"type": "docker-run",
|
|
"label": "docker-run: release",
|
|
"dependsOn": ["docker-build"],
|
|
"platform": "node",
|
|
"node": {
|
|
"package": "${workspaceFolder}/apps/node/package.json"
|
|
}
|
|
},
|
|
{
|
|
"type": "docker-run",
|
|
"label": "docker-run: debug",
|
|
"dependsOn": ["docker-build"],
|
|
"dockerRun": {
|
|
"env": {
|
|
"DEBUG": "*",
|
|
"NODE_ENV": "development"
|
|
}
|
|
},
|
|
"node": {
|
|
"package": "${workspaceFolder}/apps/node/package.json",
|
|
"enableDebugging": true
|
|
}
|
|
}
|
|
]
|
|
}
|