Containers

Description

The purpose of this assignment is to containerize previous web hosting project. Note that this is the version of qotd without the PostgreSQL database – we will deal with that in the following assignment.

Here is the assignment criteria:

  1. Create a Dockerfile to build a container image based on Alpine Linux. This should:

    • install the appropriate packages from the package manager,
    • copy appropriate files into the container image,
    • do any user management if needed, and
    • run all the services required (namely nginx and gunicorn).
  2. Create a README file that includes the appropriate docker CLI commands to build and run the container.

Note that Alpine Linux does not have the same package manager and shell as Ubuntu.

Turning in the Assignment

To submit your assignment, create a gzipped tar file named project8.tgz of a DIRECTORY named project8 containing the following:

Then submit that file to the appropriate folder on D2L.

Grading Criteria