Skip to content

Instantly share code, notes, and snippets.

@ytnobody
Created December 7, 2024 02:26
Show Gist options
  • Save ytnobody/8bb182440a8e0bd85cded211a0387c2e to your computer and use it in GitHub Desktop.
Save ytnobody/8bb182440a8e0bd85cded211a0387c2e to your computer and use it in GitHub Desktop.
nodejs + prisma devcontainer
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
{
"name": "Debian",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"features": {
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/swift-server-community/swift-devcontainer-features/sqlite:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"Prisma.prisma"
]
}
}
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Configure tool-specific properties.
// "customizations": {},
// 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