Build
docker-compose
-
Go to Portal directory
$ cd Portal
-
Create Portal image and download mongo image
$ docker-compose build
-
Check if everything went well
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE portal latest 4cfb856dc61d 2 minutes ago 1.27GB node 14 e2885a998904 5 minutes ago 943MB mongo 4.4.3 ca8e14b1fda6 4 minutes ago 493MB
standalone docker container
Creating a standalone Portal container means that you have to provide your own mongo database, if you do not know how to it better use docker-compose
-
build Portal
$ docker build . -f docker/Dockerfile -t portal
-
Check if everything went well
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE portal latest 4cfb856dc61d 15 minutes ago 1.27GB