Hacker News new | ask | show | jobs
by java_script 2900 days ago
> Do you think a lot of people are running JS in a container for frontend?

Hold my beer. --Frontend developers

1 comments

If the rest of a web app is running on containers, what's the downside to having the test/build process for the frontend in a container as well?
I like using containers as a reliable build context. I think it makes tons of sense.

Once the container's done building, throw it out, take what it built, and serve it.

I'd personally do this separately from the rest of the web app if possible, though. I keep frontends in their own repository.