Why is the Dockerfile not building the package first?

Author: jon-zukaCreated Apr 29, 2026Updated Apr 30, 2026

Hello, isn't the Dockerfile supposed to build the package? I see it just copies the final build.

Do you think the docker file can be improved to have a build target first and then a runtime target which only copies the binary?

Source: charmbracelet/soft-serve