Custom Calcom submodule fails at `docker compose up --build`
Hey,
I updated the submodule within this repo to point to a forked version of the calcom repo (I needed to make some changes to the ui, no other changes outside calcom/apps/web). The submodule is correctly syncing with my own repo, I can see my files there.
But when I try to run docker compose up --build or even docker build calcom it fails at the @calcom/prisma step with the below error and quits.
Error: db error: ERROR: prepared statement "s0" already exists
The docker compose up command works perfectly fine, but it's not using my submodule and builds the original calcom repo. The DATABASE_URL is the same in both cases, no changes to the .env, so not sure why this is happening
I would appreciate some help on how I can correctly get this to work with my own forked submodule, thanks!
It sounds like there might be schema changes or other updates that aren't getting copied (COPY steps in dockerfile) into the container build successfully. In the dockerfile, some of the project files are cherry-picked, so it's possible some of yours might not be getting picked up