https://github.com/jomendez/simple-node
Simple node example for udacity cloud developer nano degree
https://github.com/jomendez/simple-node
Last synced: 8 months ago
JSON representation
Simple node example for udacity cloud developer nano degree
- Host: GitHub
- URL: https://github.com/jomendez/simple-node
- Owner: jomendez
- Created: 2020-05-01T22:04:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-05T23:24:31.000Z (over 5 years ago)
- Last Synced: 2025-01-02T05:17:39.693Z (9 months ago)
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.com/jomendez/simple-node)
# Simple Node
## Overview
This is a very simple, bare-bones NodeJS project created for you to use with Docker.## Local Setup
* Install dependencies: `npm install`
* Run server: `node server.js`## Container Setup
* Build image: `docker build .`
* Run container with image: `docker run {image_id}` where `image_id` can be retrieved by running `docker images` and found under the column `IMAGE ID`## Container teardown
* Remove container: `docker kill {container_id}` where `container_id` can be retrieved by running `docker ps` and found under the column `CONTAINER ID`