Spaces:
Running
Running
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | |
// README at: https://github.com/devcontainers/templates/tree/main/src/universal | |
{ | |
"name": "Langflow Dev Container", | |
"build": { | |
"context": "..", | |
"dockerfile": "Dockerfile" | |
}, | |
// Features to add to the dev container. More info: https://containers.dev/features. | |
"features": { | |
"ghcr.io/devcontainers/features/node": {}, | |
"ghcr.io/dhoeric/features/hadolint:1": {} | |
}, | |
// Use 'forwardPorts' to make a list of ports inside the container available locally. | |
// "forwardPorts": [], | |
// Use 'postCreateCommand' to run commands after the container is created. | |
"postCreateCommand": "make install_frontend && make install_backend", | |
"postStartCommand": "make init", | |
// Configure tool-specific properties. | |
"customizations": { | |
"vscode": { | |
"extensions": [ | |
"charliermarsh.ruff", | |
"njpwerner.autodocstring", | |
"oderwat.indent-rainbow", | |
"exiasr.hadolint", | |
"actboy168.tasks", | |
"GitHub.copilot", | |
"ms-python.python", | |
"eamodio.gitlens", | |
"ms-vscode.makefile-tools", | |
"GitHub.vscode-pull-request-github" | |
], | |
"settings": { | |
"terminal.integrated.defaultProfile.linux": "zsh", | |
"terminal.integrated.profiles.linux": { | |
"zsh": { | |
"path": "/bin/zsh" | |
} | |
} | |
} | |
} | |
}, | |
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | |
// "remoteUser": "root" | |
"remoteUser": "vscode" | |
} | |