This repo is the best Boilerplate Docker Configs for your projects in Node.JS
Before using this boilerplate, install these sh components:
In the file .docker/command.sh
, you need to change the yarn install to npm install or bun install or something else.
On the Dockerfile, you will see the version of Node on the first line; depending on the project, you will change it.
On .devcontainer/devcontainer.json
, you will see the amazing configurations for your docker environment, with the best extensions for your workdays.
Here is the list of the extensions:
And of course, the best config (in my opinion) is the Oh My Zsh features:
"ghcr.io/devcontainers/features/common-utils:2": {},
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {
"plugins": "git git-flow F-Sy-H zsh-autosuggestions zsh-completions",
"omzPlugins": "https://github.com/z-shell/F-Sy-H https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-completions"
},
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}
If you prefer I have a repo of this:
https://github.com/felipelssilva/the.best.boilerplate.docker
This project was inspired by a request from PhD LaÃs Carneiro, aiming to deepen research into environmental conservation in Brazil. 🌎