Reminder to software developers that you don't need to write infinite source files: there are things such as "compliers", "linkers" and also the general concept of "multiple files" to achieve running software.
You can have your "single infinite file" as a docker container, if you really want to cram everything together.