Skip to content
Spring MultipleLevel Project
himanshusingour
OP

3 years ago

I have created a multilevel project on Java Spring Boot, where I have one parent module containing six child modules. My main application starts from one of the child modules.

I have successfully built it, but while deploying, it says it's unable to access the JAR file. I've attempted a second approach by creating a Dockerfile. I've created the Dockerfile, but the build is failing. I've checked everything, but still encountering issues.

Please assist me with this.

Solved

23 Replies

3 years ago

Does the Dockerfile work locally?


himanshusingour
OP

3 years ago

Yes


himanshusingour
OP

3 years ago

Brody, Please help me on this


3 years ago


himanshusingour
OP

3 years ago

this is using without Docker file, build is fine


himanshusingour
OP

3 years ago

But Deploy is fail showing like this


3 years ago

Going forward, please use the bookmarklet.

Have you tested your Dockerfile locally, If so, please show me if it is working.


himanshusingour
OP

3 years ago

sure wait


himanshusingour
OP

3 years ago

Sorry Not able to use this : https://bookmarklets.up.railway.app/log-downloader/

Screenshorts


himanshusingour
OP

3 years ago

running in local


himanshusingour
OP

3 years ago

This is the Dockerfile i have created


3 years ago

Going forward, please use the bookmarklet, and follow the 3 simple steps listed on its page.

Your Dockerfile is incorrect, you should not copy the jar file into the image at all, the Dockerfile should be responsible for building the jar file.


himanshusingour
OP

3 years ago

Not Able to understand, Thats why can you please tell me the steps


3 years ago

You should not copy the jar file into the image at all, the Dockerfile should be responsible for building the jar file.


Status changed to Solved Railway • over 2 years ago


himanshusingour
OP

3 years ago

yeah i have done that now ? its downloaded


3 years ago

Please show me the new Dockerfile.


himanshusingour
OP

3 years ago

This Log that is Download


himanshusingour
OP

3 years ago

s


3 years ago

Please show me the new Dockerfile.


himanshusingour
OP

3 years ago

i have not created new Dockerfile , i dont know how should i create


himanshusingour
OP

3 years ago

This one i am creating now


himanshusingour
OP

3 years ago

This correct now ??


himanshusingour
OP

3 years ago

Hi Now Its working , Thanx


Welcome!

Sign in to your Railway account to join the conversation.

Loading...