Prepping to deploy this site has turned out to be a real pain. The main challenge was getting Puppeteer working in a docker container, which required way more effort than it should have. I assumed I could just install it in the same way you could locally, which turned out to be very wrong as there are a ton of random dependencies that have to be preinstalled. I finally stumbled on the official dockerfiles located in their repo's troubleshooting.md
file, for some reason. These don't even work, it turns out, because of this whole linux sandbox thing they've got going which requires either messing around with the kernel, or running some now obsolete development environment. Neither actually work, so the only real solution seems to be to disable Chome's sandbox, which seems like an all around really bad idea. This whole thing is much more complicated than it first looks.
After that it was a good hour of messing around with getting environment variables to move around correctly. Way more effort spent trying to get this whole thing running in a production environment than actually making it…
Anyway, now everything's good to go so I'll try and push it out there tomorrow. Don't have high hopes for stability given all these shenanigans, so we'll see if I can get it to actually run for more than a day.