03. [20p] Building an image

Subtasks
  1. go to the flask_app folder from the lab archive
  2. modify the images array in the app.py file to make the application display other images of your choice
  3. modify the templates/index.html file to display a different title related to your chosen images (i.e., change line 22)
  4. build a Docker image entitled myflaskimage based on the provided Dockerfile
  5. run a container based on your image on port 8888
  6. check http://localhost:8888 to see if your container was started successfully

If you are solving this lab on Play with Docker, you can access an exposed port by clicking on the port button as shown in red in the image below.

ii/labs/s2/03/tasks/03.txt ยท Last modified: 2023/05/04 15:40 by radu.ciobanu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0