Zend certified PHP/Magento developer

Composer.json cannot be found

I am currently trying to install Magento Cloud locally using Docker on my Windows 10 Pro. The issue I am having is when I run the command:

curl -sL
https://github.com/magento/magento-cloud-docker/releases/download/1.2.0/init-docker.sh
| bash -s — –php 7.4

It will run up until its time to install composer packages in which I get the error:

Composer could not find a composer.json file in /app To initialize a
project, please create a composer.json file as described in the
https://getcomposer.org/ “Getting Started” section

I have a composer.json and a composer.lock in my project root but I am unsure of how I should add a composer.json file in /app.