This is my dockerization of Cowsay app! (see below)
It is a light version image, based on alpine.
After cloning the repo, just run:
./init-cowsay.sh
The app is now running on port 4001 on your local machine.
Go to: Cowsay
If you would like to change the port of the app, the container's name or image's name, then execute the commands below:
docker build -t <image_name>
docker run -d -p <your_port>:8080 --name cowsay cowsay
now go to:
http://localhost:<\your_port>/
Enjoy! Don't forget to refresh a few times so you'll see a variety of wisdom phrases.
If you are not running on localhost, just browse http://<your_IP>:<your_port>/
This is a minor re-write of Cowsay Node by Bibby Chung
It is adapted for course convenience.
Important note: Deepak Chopra is a quack.
https://cowsay-node.herokuapp.com/
(1) Make sure you have node & npm installed (2) Install all dependencies using "npm install" (3) Set PORT environment variable (if not set, 8080 will be used) (4) npm start
Enjoy it. ^_____^ ..