Setup Node.js development environment using 🐳 Docker. You may use it without install Node.js on your machine.
- Alpine
- Docker
- Fish & Oh-My-Fish
- Git
- GitFlow
- Node.js
- pnpm
Install the following before get start:
- Docker
- Docker Compose
Clone the docker-compose.yml:
curl -fLo docker-compose.yml https://raw.githubusercontent.com/wengtad/nodedock/main/docker-compose.yml
Start the containers in the background:
docker-compose up -d
Run the environment:
docker-compose run node
For use VS Code to work on running container. Following the steps:
- Install Remote - Containers extension.
- Open Command Palette (
Ctrl+Shift+P
). - Search and look for
Remote-Containers: Attach to Running Container...
.