2 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.
23 Replies
2 years ago
Yes
2 years ago
Brody, Please help me on this
2 years ago
this is using without Docker file, build is fine
Attachments
2 years ago
Going forward, please use the bookmarklet.
Have you tested your Dockerfile locally, If so, please show me if it is working.
2 years ago
sure wait
2 years ago
Sorry Not able to use this : https://bookmarklets.up.railway.app/log-downloader/
Screenshorts
Attachments
2 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.
2 years ago
Not Able to understand, Thats why can you please tell me the steps
2 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 • about 2 years ago
2 years ago
yeah i have done that now ? its downloaded
2 years ago
i have not created new Dockerfile , i dont know how should i create
2 years ago
This correct now ??
2 years ago
Hi Now Its working , Thanx