mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 02:45:21 -04:00
43 lines
1.2 KiB
JSON
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"
|
|
]
|
|
}
|