Vapor - swift build error

I created an API in Vapor, everything works fine when i run it locally, but when I try to deploy it to render (new WebService → runtime Docker) I am getting the following error: error: failed to solve: process “/bin/sh -c swift build -c release --static-swift-stdlib” did not complete successfully: exit code: 1
Does anyone know what’s wrong?


I expect there may be further details in the logs above the line you shared.