Files
landing/.devcontainer/devcontainer.json

37 lines
987 B
JSON

{
"name": "mifi Ventures Landing",
"dockerFile": "Dockerfile",
"workspaceFolder": "/workspaces/mifi-ventures-landing",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/mifi-ventures-landing,type=bind",
"forwardPorts": [3000],
"portsAttributes": {
"3000": {
"label": "Site",
"onAutoForward": "notify"
}
},
"postStartCommand": "nohup npx -y serve site -l 3000 > /tmp/serve.log 2>&1 & sleep 1",
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
],
"settings": {
"files.associations": {
"*.html": "html",
"*.css": "css",
"*.svg": "svg"
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.watcherExclude": {
"**/node_modules/**": true,
"**/.git/objects/**": true
}
}
}
},
"remoteUser": "node"
}