Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Abhinav-Saxena-dev opened this issue May 16, 2023 · 1 comment

Comments

@Abhinav-Saxena-dev
Copy link

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
Copy link
Collaborator

Hey @Abhinav-Saxena-dev it's fixed in samagra-comms/uci-apis#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants