• Usage: Specifies the Dockerfile to use for the build.

  • Command:

    docker build -f Dockerfile.custom -t custom-image .
    
    
    • This command uses Dockerfile.custom to build the image custom-image.