Files
mkvtool/.devcontainer/devcontainer.json
T

44 lines
1.3 KiB
JSON
Executable File

{
"name": "MKVTool",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "22"
}
},
"forwardPorts": [8000, 5173],
"portsAttributes": {
"8000": { "label": "MKVTool API" },
"5173": { "label": "MKVTool Web" }
},
"containerEnv": {
"UV_LINK_MODE": "copy"
},
"runArgs": ["--name", "mkvtool"],
"mounts": [
"source=${localEnv:APPDATA}/JetBrains/WebStorm2026.2/aia-task-history,target=/.jbdevcontainer/config/JetBrains/WebStorm2026.2/aia-task-history,type=bind",
"source=${localEnv:APPDATA}/JetBrains/WebStorm2026.2/workspace,target=/.jbdevcontainer/config/JetBrains/WebStorm2026.2/workspace,type=bind",
"source=${localEnv:USERPROFILE}/.cline,target=/home/vscode/.cline,type=bind"
],
"postCreateCommand": "uv sync && npm --prefix web install && python --version && node --version && ffmpeg -version | head -n 1 && command -v makemkvcon && uv --version",
"customizations": {
"jetbrains": {
"plugins": ["com.intellij.ml.llm", "bot.cline"]
},
"vscode": {
"extensions": [
"charliermarsh.ruff",
"ms-python.python",
"ms-python.vscode-pylance",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
},
"remoteUser": "vscode"
}