jellyfin-vue/.devcontainer/devcontainer.json
Fernando Fernández f01414a4b6
chore(devcontainer): use latest docker-compose
Signed-off-by: GitHub <noreply@github.com>
2024-05-03 12:08:33 +00:00

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": {
"installDockerComposeSwitch": false
},
"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" }
}