- First, You have to build your image. For that, You have to use the following command
sudo docker build -t <name_of_the_image>
, where-t
stands for "tag". - Next, You should run builded image. Fot that, use the following command:
sudo docker run -p 8000:8000 <name_of_the_image>
- Click generated web adress, with pressed Left Ctrl button. This will lead to opening Photographer's Portfolio in Your default web browser.
Alternative way to build and run this image is by running following command in the main directory:
docker-compose up