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.
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.