Interview Prep/Docker/Rapid-Fire Commands

Build with a specific Dockerfile, target, build arg and no cache for one stage.

IntermediateProductionRapid-Fire Commands
Answer
docker build -f deploy/Dockerfile --target prod --build-arg VERSION=1.4.2 \
  --no-cache-filter build -t app:1.4.2 .
All Docker questions Roadmap: Docker & containers

More on Rapid-Fire Commands