❌ STOP: DO NOT CLONE THIS REPO ❌
Carefully follow the instructions below to ensure you get credit for this assignment.
Use this required starter pack for all assignments in BEW 2.2: DevOps, Deployments & Containers. Follow the instructions below, and submit the resulting repository on Gradescope by the assigned due date.
Filename | Description |
---|---|
.gitignore |
General ignore file. Optimized for Python. |
.dockerignore |
A list of files that will not be copied during build. |
captain-definition |
DO NOT MODIFY. Used by CapRover for deployment. |
Dockerfile |
Implement solutions in this file. |
README.md |
Replace this README with content describing the purpose of your project. |
- Import an existing repository on GitHub.
- Under
Your old repository's clone URL
, pastehttps://github.com/make-school-labs/docker-starter
. - Name your repository according to the assignment instructions.
- Click
Begin Import
. - Locally clone your new copy of the starter code.
Variable | Description |
---|---|
USERNAME |
Your DockerHub username. |
IMAGE_NAME |
Name of the repository created above. |
CONTAINER_NAME |
Choose a name for this container. Can be the same as IMAGE_NAME . |
Builds the Dockerfile
found at the current path (.
).
$ docker build -t USERNAME/IMAGE_NAME .
Runs the IMAGE_NAME
image. Deletes the container after executing the CMD
.
$ docker run --rm --name CONTAINER_NAME IMAGE_NAME