Mantle / Core /.devcontainer /devcontainer.json
andrescastro-us's picture
cleanup code
9f091b1
Raw History Blame Contribute Delete
1.64 kB
Invalid JSON:Expected double-quoted property name in JSONat line 4, column 2
{
"name": "Existing Docker Compose (Extend)",
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
"dockerComposeFile": [
"../docker-compose.yml",
"docker-compose.yml"
],
// The 'service' property is the name of the service for the container that VS Code should use.
// Update this value and .devcontainer/docker-compose.yml to the real service name.
"service": "app",
// The optional 'workspaceFolder' property is the path VS Code should open by default when connected.
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [7860],
// Start specific services in your Docker Compose configuration.
"runServices": ["app"],
// Keep your containers running after VS Code shuts down.
"shutdownAction": "stopCompose",
// Run commands after the container is created.
"postCreateCommand": "chainlit run app.py --host 0.0.0.0 --port 7860 --watch",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"settings": {
"python.pythonPath": "/app/.venv/bin/python"
},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.black-formatter"
]
}
},
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "root"
}