6 months ago
Dockerfile.simple:13
-------------------
11 |
12 | # Copy pre-built Angular files (built locally)
13 | >>> COPY target/classes/static ./target/classes/static
14 |
15 | # Set environment variables
-------------------
ERROR: failed to build: failed to solve: failed to compute cache key: failed to calculate checksum of ref jjlops1zde4efm2n996u6dray::w595f89is5kc8nylq3ajoqkxy: "/target/classes/static": not found
3 Replies
6 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
6 months ago
This is an issue with your Dockerfile. I assume it to be AI generated, which is likely the root cause.
Can you please share it in its entirety?
5 months ago
@Anonymous, if you share your Dockerfile we can better diagnose what is happening. This kind of error happens when the directory doesn't actually exist on the host. The only other two potential things to check is that the path is wrong from the source (target/classes/static could be an incorrect path) or this path is part of a .dockerignore file.