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 fails on COPY data step #1

Open
sohamda opened this issue Jul 25, 2023 · 1 comment
Open

docker-compose build fails on COPY data step #1

sohamda opened this issue Jul 25, 2023 · 1 comment

Comments

@sohamda
Copy link

sohamda commented Jul 25, 2023

docker-compose build step fails on COPY data folder step.

Error snippet:
=> ERROR [application 9/9] COPY data/ /app/data 0.0s

[application 9/9] COPY data/ /app/data:


failed to solve: failed to compute cache key: failed to calculate checksum of ref 2359ccab-9e50-4195-8bc0-59ca300dfbc8::utjfkr4yyofq74p0uwnalo8u9: "/data": not found

docker-compose version - 2.19.1
windows 11

@sohamda
Copy link
Author

sohamda commented Jul 26, 2023

adding an empty data folder inside application solved this issue. But I wonder why the step was added in the first place?

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

1 participant