Created
July 22, 2024 01:05
-
-
Save indraAsLesmana/0f793034ba0c021db8b81b6155b521a8 to your computer and use it in GitHub Desktop.
dev container config web development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// 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/go:1": {}, | |
"ghcr.io/devcontainers/features/node:1": {}, | |
"ghcr.io/devcontainers/features/php:1": {}, | |
"ghcr.io/devcontainers/features/python:1": {}, | |
"ghcr.io/devcontainers/features/ruby:1": {}, | |
"ghcr.io/devcontainers-contrib/features/composer:1": {}, | |
"ghcr.io/jckimble/devcontainer-features/ngrok:3": {} | |
}, | |
"customizations": { | |
"vscode": { | |
"extensions": [ | |
"cweijan.vscode-database-client2", | |
"bradlc.vscode-tailwindcss", | |
"Vue.volar", | |
"msjsdiag.vscode-react-native", | |
"dsznajder.es7-react-js-snippets", | |
"esbenp.prettier-vscode", | |
"alfredbirk.tailwind-documentation", | |
"mhutchie.git-graph", | |
"philnash.ngrok-for-vscode" | |
] | |
} | |
}, | |
"postStartCommand": "go install github.com/air-verse/air@latest" | |
// 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": [] | |
// "forwardPorts": [3000, 3001] | |
// 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