jellyfin-vue/.devcontainer/devcontainer.json
Fernando Fernández 3fbf550a15
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
ci(devcontainer): use official debian base image
2024-10-03 23:53:00 +00:00

33 lines
951 B
JSON

{
"name": "jellyfin-vue Codespace (with support for Tauri and Docker development)",
"build": {
"dockerfile": "Dockerfile"
},
"remoteUser": "root",
"features": {
"ghcr.io/devcontainers/features/rust:1": {
"profile": "default"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"installDockerComposeSwitch": false
},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"forwardPorts": [3000],
"portsAttributes": {
"3000": {
"label": "Vite server",
"onAutoForward": "notify"
}
},
"postCreateCommand": {
"tauri-deps": "install_packages $(cat packaging/tauri/apt_packages)",
"npm": "npm ci --no-audit",
"unshallow": "git fetch --unshallow || true"
},
"postAttachCommand": {
"install-extensions": "cat .vscode/extensions.json | jq -r .recommendations[] | xargs -n 1 code --install-extension"
},
"hostRequirements": { "cpus": 4, "memory": "8gb" }
}