Docker Image Building from Astro Project

Hi,

If I want to build my own docker image from Astro CLI project to test image in different environments I need to use docker build ... command(as per the documentation).

  1. Does docker build ... build production ready image from default Dockerfile using Astro runtime image ? or we need custom DockerFile ?
  2. Will docker build ... command create docker image similar to what astro deploy .. creates ? If they are different do we have sample DockerFile to match them ?
  3. Why there is no simple command like astro build ... to create production ready docker images ?

Thanks,
Kiran