https://github.com/erzhtor/docker-for-local-nodejs-development
Created for an Article on Medium.com
https://github.com/erzhtor/docker-for-local-nodejs-development
development docker docker-compose get-started javascript nodejs tutorial
Last synced: 8 months ago
JSON representation
Created for an Article on Medium.com
- Host: GitHub
- URL: https://github.com/erzhtor/docker-for-local-nodejs-development
- Owner: erzhtor
- Created: 2018-12-16T14:41:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-20T19:10:03.000Z (about 7 years ago)
- Last Synced: 2025-05-17T08:11:22.098Z (9 months ago)
- Topics: development, docker, docker-compose, get-started, javascript, nodejs, tutorial
- Language: Dockerfile
- Homepage: https://medium.com/@erzhtor/docker-for-local-node-js-development-164844df5cb6
- Size: 23.4 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker for local Node.js development
This repo show how to setup Docker for Node.js for local development.
For more info, see [article](https://medium.com/@erzhtor/docker-for-local-node-js-development-164844df5cb6) on medium.
## Getting started
These instructions show how to clone and run the project.
### Prerequisites
- [Docker CE](https://www.docker.com/get-started)
### Clone
`git clone https://github.com/erzhtor/docker-for-local-nodejs-development.git`
### Run
`npm run docker:dev`
No need to `npm i`, because it runs in Docker container and caches until package.json or package-lock.json changes.
That's it! You can edit all contents, nodemon watch mode reruns an app in a docker container on the fly.