https://github.com/raminmammadzada/simple-node
...for trying Tracis CI.
https://github.com/raminmammadzada/simple-node
Last synced: 4 months ago
JSON representation
...for trying Tracis CI.
- Host: GitHub
- URL: https://github.com/raminmammadzada/simple-node
- Owner: RaminMammadzada
- Created: 2021-06-05T20:44:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-06T08:59:05.000Z (over 4 years ago)
- Last Synced: 2025-04-07T09:48:17.259Z (8 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- 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`