mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-19 17:24:59 +00:00
feat: Initial Version of vscode DevContainer (#3217)
initial version of devcontainer --------- Signed-off-by: Dave Lee <dave@gray101.com>
This commit is contained in:
parent
5bb2321fe0
commit
57f7900210
9 changed files with 169 additions and 27 deletions
23
.devcontainer/devcontainer.json
Normal file
23
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
|
||||
"name": "LocalAI",
|
||||
"workspaceFolder": "/workspace",
|
||||
"dockerComposeFile": [ "./docker-compose-devcontainer.yml" ],
|
||||
"service": "api",
|
||||
"shutdownAction": "stopCompose",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"golang.go",
|
||||
"ms-vscode.makefile-tools",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"ms-python.python",
|
||||
"ms-python.debugpy",
|
||||
"wayou.vscode-todo-highlight",
|
||||
"waderyan.gitblame"
|
||||
]
|
||||
}
|
||||
},
|
||||
"forwardPorts": [8080, 3000],
|
||||
"postStartCommand": "make prepare && cp /build/backend-assets /workdir/backend-assets"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue