Hi @rgy713 and welcome to the community.
Running two docker-compose commands in the same step shouldn't be an issue, I believe that the culprit may be different here.
My first suggestion would be to try debugging this specific build locally as per the instructions we have in the following doc:
This is to check whether the issue may have to do with the Dockerfile or if the error occurs only in Pipelines.
In case this works fine locally, I would suggest opening a ticket with the support team for this issue since your workspace is on a paid plan. If there is a support ticket open, the engineer working on your case will be able to access the repo, build, and extra logs from our side which will allow for faster troubleshooting.
You can open a support ticket via https://support.atlassian.com/contact/#/, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product.
Please feel free to let me know if you have any questions.
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events