GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SafdarJamal/docker-node-app: Dockerizing a Node.js web app.

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

Dockerizing a Node.js web app

The goal of this example is to show you how to get a Node.js application into a Docker container.

Development

To get a local copy of the code, clone it using git:

git clone https://github.com/SafdarJamal/docker-node-app.git
cd docker-node-app

Now that you have some source code and a Dockerfile, it’s time to build your first image:

docker build -t docker-node-app .

Start a container based on your new image:

docker run -d -p 8080:8080 docker-node-app

Visit your application in a browser at http://localhost:8080. You should see your hello world application up and running.

License

This project is licensed under the terms of the MIT license.

About

Dockerizing a Node.js web app.

hub.docker.com/r/safdarj/node-web-app

Topics

containerdockerdocker-nodedocker-node-appexpressnodenodejsserver

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

23 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.