mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-20 05:07:54 +00:00
57f7900210
initial version of devcontainer --------- Signed-off-by: Dave Lee <dave@gray101.com>
23 lines
823 B
JSON
23 lines
823 B
JSON
{
|
|
"$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"
|
|
} |