https://github.com/phoenixframework/phoenix/blob/8546ea30d4a8a5bd6459814bf6711ad14c5ddc49/priv/templates/phx.gen.release/Dockerfile.eex#L74 For "trixie" this package name will need to be changed to "libncurses6".