Skip to content

Instantly share code, notes, and snippets.

@askareija
Last active February 29, 2024 03:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save askareija/6f703849de5f81dbccefe16e754151bf to your computer and use it in GitHub Desktop.
Save askareija/6f703849de5f81dbccefe16e754151bf to your computer and use it in GitHub Desktop.
Newest devcontainer config for Visual Studio Code
{
"name": "Devcontainer app",
"dockerComposeFile": "./docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"exodiusstudios.comment-anchors",
"esbenp.prettier-vscode"
]
}
},
"mounts": [
{
"source": "/etc/localtime",
"target": "/etc/localtime",
"type": "bind"
},
{
"source": "/etc/timezone",
"target": "/etc/timezone",
"type": "bind"
}
]
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment