Answer
A Dockerfile contains step-by-step instructions to build an image such as selecting a base image, installing packages, copying code, exposing ports, and defining entrypoints.
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.
Sign in to access all features and personalize your learning experience.
Source: SugharaIQ