Error relocating better_sqlite3.node: fcntl64: symbol not found when building Docker image

Not sure if the question was directed at me but I will answer.

This is inside a CI/CD(Gitlab) using K8s then will be deployed to GCP.