https://github.com/sdkdeepa/simple-node
https://github.com/sdkdeepa/simple-node
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sdkdeepa/simple-node
- Owner: sdkdeepa
- Created: 2020-11-21T04:04:12.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-21T22:43:46.000Z (over 5 years ago)
- Last Synced: 2025-10-24T13:04:36.950Z (7 months ago)
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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`