1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 13:38:27 -04:00
jarv.is/.devcontainer/devcontainer.json
2021-12-30 08:18:41 -05:00

43 lines
1.2 KiB
JSON

{
"name": "jarv.is",
"runArgs": ["--init"],
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local arm64/Apple Silicon.
"args": { "VARIANT": "16-bullseye" }
},
"features": {
"git": "os-provided"
},
// Use 'postCreateCommand' to run commands after the container is created.
"postStartCommand": "yarn install --frozen-lockfile && ./node_modules/.bin/next telemetry disable",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [3000],
"portsAttributes": {
"3000": {
"label": "next dev",
"onAutoForward": "notify"
}
},
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/zsh"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint",
"divlo.vscode-styled-jsx-languageserver",
"divlo.vscode-styled-jsx-syntax",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"stylelint.vscode-stylelint"
]
}