Skip to content

Commit

Permalink
Setup dev container configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Jym77 committed Nov 26, 2024
1 parent 608e0b0 commit 1355b68
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// 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": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",

// 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": [5173],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": {
"install": "yarn install",
"playwright setup": "yarn playwright install",
"playwright missing deps": "sudo yarn playwright install-deps",
"build": "yarn build"
}

// Configure tool-specific properties.
// "customizations": {},

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

0 comments on commit 1355b68

Please sign in to comment.