samagra-comms / docker-deploy

1 stars 15 forks source link

Docker Compose Build Failure: Unable to Prepare Context for UCI API Service #60

Open Abhinav-Saxena-dev opened 1 year ago

Abhinav-Saxena-dev commented 1 year ago

I encountered an error while running docker-compose up with the provided docker-compose.yml file.

The error message states: "WARN[0003] buildx: failed to get git commit: unable to prepare context: path "./uci-apis/v2/uci" not found."

This error is preventing the successful build and deployment of the UCI API service.

https://github.com/samagra-comms/docker-deploy/blob/f674bce43ade0318ae5a47ba221c93edca3df3dc/docker-compose.yml#LL3C1-L10C19

RyanWalker277 commented 1 year ago

Hey @Abhinav-Saxena-dev it's fixed in https://github.com/samagra-comms/uci-apis/pull/78. We will be updating the code to pull from dockerhub shortly. Till then you can try fixing this by tweaking the build path, or you can build the image locally through the dockerfile in v2.