ERROR: "/workdir/server/target/dependency/BOOT-INF/lib" not found: not found #631

Closed
opened 2026-03-07 21:20:46 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @gguiboux on GitHub (May 19, 2021).

Hi,

I followed the awesome-compose spring-postgres repo.
When i try to buid spring api Docker file, i've got this error :

#16 ERROR: "/workdir/server/target/dependency/BOOT-INF/lib" not found: not found

[stage-1 2/4] COPY --from=builder /workdir/server/target/dependency/BOOT-INF/lib /app/lib:



[stage-1 3/4] COPY --from=builder /workdir/server/target/dependency/META-INF /app/META-INF:



[stage-1 4/4] COPY --from=builder /workdir/server/target/dependency/BOOT-INF/classes /app:


failed to compute cache key: "/workdir/server/target/dependency/BOOT-INF/classes" not found: not found
Service 'api' failed to build

Can you tell me what i didwrong ?
Thank you

Originally created by @gguiboux on GitHub (May 19, 2021). Hi, I followed the awesome-compose spring-postgres repo. When i try to buid spring api Docker file, i've got this error : #16 ERROR: "/workdir/server/target/dependency/BOOT-INF/lib" not found: not found ------ > [stage-1 2/4] COPY --from=builder /workdir/server/target/dependency/BOOT-INF/lib /app/lib: ------ ------ > [stage-1 3/4] COPY --from=builder /workdir/server/target/dependency/META-INF /app/META-INF: ------ ------ > [stage-1 4/4] COPY --from=builder /workdir/server/target/dependency/BOOT-INF/classes /app: ------ failed to compute cache key: "/workdir/server/target/dependency/BOOT-INF/classes" not found: not found Service 'api' failed to build Can you tell me what i didwrong ? Thank you
Author
Owner

@glours commented on GitHub (May 21, 2021):

To run this sample, you just need to go to the sample directory

$ cd spring-postgres

And then just do a compose up, Docker Compose will build the image for you

$ docker-compose up -d
@glours commented on GitHub (May 21, 2021): To run this sample, you just need to go to the sample directory ```shell $ cd spring-postgres ``` And then just do a `compose up`, Docker Compose will build the image for you ```shell $ docker-compose up -d ```
Author
Owner

@gguiboux commented on GitHub (Jun 14, 2021):

thanx

@gguiboux commented on GitHub (Jun 14, 2021): thanx
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#631