I am trying to implement regression testing using Cypress in my pipeline in one of my pipeline steps. Below screenshot is the pipeline failure where I am just simply verifying cypress

In my local, it is working fine. Seems like this issue is really related to Bitbucket pipeline itself
My docker-compose.yml is as simple as below

How can I bypass the error on the first screenshot? I want to keep using docker-compose.yml to keep for identical purposes with my local environment