SpringBoot app deployment issue

naqvi25
FREE

3 days ago

✕ [stage-0 6/7] RUN --mount=type=cache,id=s/21e6b21d-9a68-4ac5-bdd8-5508316b7c57-m2/repository,target=/app/.m2/repository chmod +x ./mvnw && ./mvnw -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install

process "/bin/bash -ol pipefail -c chmod +x ./mvnw && ./mvnw -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install" did not complete successfully: exit code: 1

Dockerfile:19

-------------------

17 | # build phase

18 | COPY . /app/.

19 | >>> RUN --mount=type=cache,id=s/21e6b21d-9a68-4ac5-bdd8-5508316b7c57-m2/repository,target=/app/.m2/repository chmod +x ./mvnw && ./mvnw -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install

20 |

21 |

-------------------

ERROR: failed to build: failed to solve: process "/bin/bash -ol pipefail -c chmod +x ./mvnw && ./mvnw -DoutputFile=target/mvn-dependency-list.log -B -DskipTests clean dependency:list install" did not complete successfully: exit code: 1

Error: Docker build failed

$10 Bounty

1 Replies

Railway
BOT

3 days 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!


SpringBoot app deployment issue - Railway Help Station