This line in build.dockerfile copies more libraries than actually needed and increases the size of the docker image quite a bit:
COPY --from=builder /lib/x86_64-linux-gnu /lib/x86_64-linux-gnu
Investigate which libraries are actually needed and copy only those.