mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-12-04 04:01:26 +00:00
b7f2714d97
Signed-off-by: GitHub <noreply@github.com>
31 lines
1.0 KiB
JSON
31 lines
1.0 KiB
JSON
{
|
|
"name": "jellyfin-vue Codespace (with support for Tauri and Docker development)",
|
|
"image": "node:20-slim",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/rust:1": {
|
|
"profile": "default"
|
|
},
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
|
"dockerDashComposeVersion": "v2"
|
|
},
|
|
"ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {},
|
|
"ghcr.io/devcontainers/features/github-cli:1": {}
|
|
},
|
|
"forwardPorts": [3000],
|
|
"portsAttributes": {
|
|
"3000": {
|
|
"label": "Vite server",
|
|
"onAutoForward": "notify"
|
|
}
|
|
},
|
|
"postCreateCommand": {
|
|
"npm": "npm ci --no-audit",
|
|
"no-yarn": "unset YARN_VERSION && rm -rf /opt/yarn*",
|
|
"use-bash": "rm -rf /bin/sh && ln -s /bin/bash /bin/sh",
|
|
"git-config": "git config --global core.editor 'code --wait'",
|
|
"postunpack": ".devcontainer/postunpack.sh"
|
|
},
|
|
"postAttachCommand": "cat .vscode/extensions.json | jq -r .recommendations[] | xargs -n 1 code --install-extension",
|
|
"hostRequirements": { "cpus": 4, "memory": "8gb" }
|
|
}
|