4 ms·
I would definitely not do it that way in a more serious project. But for side projects that don't have a ton of traffic I found it's perfectly fine (and faster)
by polyrand 5y ago
I would definitely not do it that way in a more serious project. But for side projects that don't have a ton of traffic I found it's perfectly fine (and faster) to just build the container on the prod server.
The website for which I'm using this method is doing a multi-stage docker build compiling SQLite in the first stage. Everything is working perfect so far.