@pixelscience I have not looked at binary yet, don't know why it is so big. This is next once I have it at least running in some what automation on my k cluster.
But in short, you can try guess by this example https://github.com/vapor/template-fluent-postgres/blob/main/Dockerfile
another reason could be because of this package
https://github.com/dankinsoid/VaporToOpenAPI
@sakrist According to Dockerfile:30 it builds with static linking. (Yay!) https://github.com/vapor/template-fluent-postgres/blob/dd97098a73fb8a93d0f3a35a281f78aa574d95df/Dockerfile#L30
Bad news is that 300MB still feels really large.