Skip to content

Commit

Permalink
Update .devcontainer for vscode (#9104)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Cousens <[email protected]>
  • Loading branch information
ggpwnkthx and dcousens authored Apr 22, 2024
1 parent 9a65ec8 commit 5e078c3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .devcontainer/Dockerfile

This file was deleted.

30 changes: 20 additions & 10 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "Keystone",
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "14"
}
},

"settings": {},
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye",

"extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "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": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pnpm install",

"remoteUser": "node"
// Configure tool-specific properties.
"customizations": {
"vscode": {
"settings": {},
"extensions": [
"prisma.prisma",
"github.vscode-pull-request-github"
]
}
}

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

0 comments on commit 5e078c3

Please sign in to comment.