Lab: Docker Mini Lab
Lab: Docker Mini Lab Goal Containerize a tiny API. Tasks Create a minimal API endpoint. Add health endpoint. Write Dockerfile. Build image. Run container locally. Pass configuratio
Lab: Docker Mini Lab
Goal
Containerize a tiny API.
Tasks
- Create a minimal API endpoint.
- Add health endpoint.
- Write Dockerfile.
- Build image.
- Run container locally.
- Pass configuration through environment variables.
Failure Case
- Break the health endpoint and observe the result.
Output
- Dockerfile.
- Run commands.
- Notes on image size and configuration.