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:
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).
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:
The Dockerfile
The README file
Any files that are copied into the container image.
Then submit that file to the appropriate folder on D2L.
Grading Criteria
- Correct implementation of the specification