I am trying to deploy a rescript app, which is built (rescript build) on circle ci, and then deployed to fly.io via a Dockerfile.
During the deploy in the Dockerfile, we run a
RUN yarn install and a
CMD ["yarn", "start"]
I am having issues with rescript being installed on the machine, random python errors, etc.
What I am SUPER confused by is why is rescript being installed, or called, or anything at this point, the app was already built on a prior step, we are simply trying to run the built artifact with next-boost (next with cache). rescript is a devDependency and should not be installed or called at any point when calling “yarn install”, correct?
Overall similar issues to this post: Ninja Install Fail
What is going on?