https://github.com/killme2008/docker-nodejs-ubuntu
Build a docker image that runs node.js application in ubuntu.
https://github.com/killme2008/docker-nodejs-ubuntu
Last synced: 9 days ago
JSON representation
Build a docker image that runs node.js application in ubuntu.
- Host: GitHub
- URL: https://github.com/killme2008/docker-nodejs-ubuntu
- Owner: killme2008
- Created: 2014-01-15T15:32:26.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-15T16:10:33.000Z (over 12 years ago)
- Last Synced: 2025-05-30T14:16:45.567Z (about 1 year ago)
- Language: Shell
- Size: 117 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Intro
Build a docker image to run node.js application in ubuntu.
# Build
```
git clone https://github.com/killme2008/Docker-NodeJS-Ubuntu.git
cd Docker-NodeJS-Ubuntu.git
docker build -t dennis/node-js .
docker run -p 47516:8080 -d dennis/node-js
```
Test it:
```
curl -X GET http://localhost:47516/
```
It should out put:
```
Hello World
```
Or you can put the link into browser to see it.