Initial Commit
This commit is contained in:
53
.devcontainer/devcontainer.json
Normal file
53
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
// Displayed name
|
||||
"name": "Node-UserFrontEnd",
|
||||
|
||||
// Image to be used
|
||||
"image": "node",
|
||||
|
||||
// Customization
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"svelte.svelte-vscode",
|
||||
"fabiospampinato.vscode-highlight",
|
||||
"fabiospampinato.vscode-todo-plus"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
// Env in container
|
||||
"containerEnv": {
|
||||
|
||||
},
|
||||
|
||||
// Mounts in container
|
||||
"mounts": [
|
||||
{
|
||||
"source": "${localWorkspaceFolder}",
|
||||
"target": "/workspace",
|
||||
"type": "bind"
|
||||
},
|
||||
{
|
||||
"source": "UserFrontend-NodeModules-Cache",
|
||||
"target": "/workspace/node_modules",
|
||||
"type": "volume"
|
||||
}
|
||||
],
|
||||
|
||||
// The WorkspaceFolder inside container
|
||||
"workspaceFolder": "/workspace",
|
||||
|
||||
"postStartCommand": [
|
||||
"npm",
|
||||
"install"
|
||||
],
|
||||
|
||||
// RunArgs
|
||||
"runArgs": [
|
||||
"--name",
|
||||
"SvelteKit-FrontEnd"
|
||||
]
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user