https://github.com/utnaf/practical-docker
A Simple step-by-step application that uses Docker for both development and deploy.
https://github.com/utnaf/practical-docker
docker
Last synced: about 2 months ago
JSON representation
A Simple step-by-step application that uses Docker for both development and deploy.
- Host: GitHub
- URL: https://github.com/utnaf/practical-docker
- Owner: utnaf
- Created: 2020-11-10T13:07:26.000Z (about 5 years ago)
- Default Branch: step-01
- Last Pushed: 2020-11-13T08:14:50.000Z (about 5 years ago)
- Last Synced: 2025-02-07T13:50:14.234Z (11 months ago)
- Topics: docker
- Language: JavaScript
- Homepage:
- Size: 92.8 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Practical Docker
We have a simple Express app that serves a static JSON.
## Requirements
- NodeJS or [nvm](https://nvm.sh)
If you have nvm installed use the `nvm use` command to set your Node version to 14.15.0.
## Run
```
npm install
npm start
```
Visit http://localhost:3000.
### Dev
For developing you can use the `watch` command to restart the server automatically when a file changes.
```
npm run watch
```