There is a very strict standard format for screenplays. If you follow it, an 8 minute moviedesigned so that each written page of the script will be 8 pages longtake approximately 1 minute of screen time. TheThe formatting is different for action and dialog in order to maintain the page/time ratio no matter what the content. So, if you follow the format, a script for an 8 minute movie will "magically" be 8 pages long.
https://screenwriting.io/what-is-standard-screenplay-format/
There are example scripts linkedThis is not long, so your story should probably be simple and to at the above link-the-point rather than detailed and complex. The following link is to a site that posts examples of scripts for short films: