Can't deploy Elixir/Phoenix App (The task "assets.deploy" could not be found)

I am getting the following error when building my Phoenix App. Any help is greatly appreciated. Thanks.

1.980 ** (Mix) The task "assets.deploy" could not be found. Could this be because my Phoenix app was generated with a `--no-assets` flag?

------

Error: failed to fetch an image or build from source: error building: failed to solve: process "/bin/sh -c mix assets.deploy" did not complete successfully: exit code: 1

unsuccessful command 'flyctl deploy --build-only --push -a kayaanchat-be --image-label deployment-3ae8a569f220e7bbc03e6fec292d9119 '