Error when deploying rails app

When i try deploy rails app, i have this issue

Error failed to fetch an image or build from source: error building: executor failed running [/bin/bash -o pipefail -c bundle install && rm -rf vendor/bundle/ruby/*/cache]: exit code: 5

This is the first time I try to deploy an app, how can I fix it?

It looks like you need to install shared-mime-info. In the Dockerfile you will find BUILD_PACKAGES and DEPLOY_PACKAGES. My guess is that you need to add shared-mime-info to both.

Thanks, add “shared-mime-info” in this lines

But, now i have this new issue

What is YARN_VERSION in your Dockerfile? Current version is 1.22.19. Looks like you either need a newer version or to remove options that aren’t supported by the version you are using. There is no harm in removing --no-progress.