Not able to run springboot application on railway
abhinavraj23
PROOP

6 months ago

Getting this error

stage-0

RUN ./gradlew clean build -x check -x test

147ms

Error: Unable to access jarfile /app/gradle/wrapper/gradle-wrapper.jar

Dockerfile:16

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

14 | # build phase

15 | COPY . /app/.

16 | >>> RUN --mount=type=cache,id=s/cee051fa-769d-40da-a0ce-04b465eb9112-/root/gradle,target=/root/.gradle ./gradlew clean build -x check -x test

17 |

18 | # setup phase

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

ERROR: failed to build: failed to solve: process "/bin/bash -ol pipefail -c ./gradlew clean build -x check -x test" did not complete successfully: exit code: 1

Error: Docker build failed

Solved$10 Bounty

Pinned Solution

6 months ago

Hi,

Please make sure that you've committed the file in question. This is not a file that should be ignored by GitHub.

2 Replies

Railway
BOT

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

Hi,

Please make sure that you've committed the file in question. This is not a file that should be ignored by GitHub.


Status changed to Solved noahd 6 months ago


Loading...