Sign inSign up

andreluys01/app-nodejs

By andreluys01

Updated over 4 years ago

Image
0

42

andreluys01/app-nodejs repository overview

Instructions for downloading and compiling the Docker image

Attention:

  1. The application run here was developed by Thalles Bastos and is very well documented in the links below.
  1. Install Docker .

  2. Start the containers.


cd lab-magnata/app_nodejs

docker build -f Dockerfile -t andreluys01/app-nodejs:1.0.0 .
docker run -d --name db_app -p 27017:27017 mongo:4
docker run -i -t --name myapp -p 80:8080 andreluys01/app-nodejs:1.0.0
  1. Access the app in the URL http://localhost:80 (for HTTP).

  2. Stop the containers.

docker stop myapp

Tag summary

Content type

Image

Digest

Size

45.6 MB

Last updated

over 4 years ago

docker pull andreluys01/app-nodejs:1.0.0