is it possible to have a smaller Run image for Vapor 4 apps than
From looking at the
Dockerfile included in a Vapor 4 project I conclude that all the heavy stuff needed for building the Vapor 4 app is included in the Build image which is
vapor/swift:5.2. So what is really needed to run the Vapor 4 app, I hope something smaller than a full fledged Ubuntu 18.04 is sufficient. I ideally had it running on a image as minimal as an
12.1-alpine, but would that be possible?
All our backends are running in Docker containers. To keep the footprint small, we usually prefer some sort of
alpine images which contain only the absolutely necessary stuff inside. The person responsible for our hosting said, that deploying fully fledged Ubuntu images on our servers would be an absolute no go because of their sheer size alone.
So whether we can use Vapor for backend development depends on the crucial question: is it possible to deploy Vapor 4 apps in docker images smaller than Ubuntu?
Thanks in advance,