LocalAI/.devcontainer/devcontainer.json
Dave 1ed5af1da8
fix: devcontainer pt 2 (#3258)
tiny fix of copy path

Signed-off-by: Dave Lee <dave@gray101.com>
2024-08-17 09:08:03 +02:00

24 lines
907 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],
"postCreateCommand": "git clone https://github.com/mudler/LocalAI.git .",
"postStartCommand": "make prepare && cp -r /build/backend-assets /workspace/backend-assets"
}