Ship ShopLite 1: Dockerfile and Compose
60 min · Advanced
The first test of a well-packaged project is simple: someone clones it, copies one settings file, runs one command, and gets a working API with a database and docs. Everything later (CI, deploys, production) builds on this container setup, so it has to be right first.
Interview questions this lesson answers
- How does someone run your project locally?
- Why a multi-stage Dockerfile?
- Why does the container run as a non-root user?
- How do you keep secrets out of the image?
- What makes the startup order reliable?
Sign in to continue this lesson
Create an account to read every lesson, practise with the exercises and keep track of your progress.