I can't deploy my application, the following error always appears ERROR: failed to solve: lstat /var/lib/docker/tmp/buildkit-mount786659247/target: no such file or directory
fefegsilva
TRIALOP
2 years ago
https://github.com/FefeGSilva/os-api.git
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
2 years ago
From your build logs
>>> COPY target/*.jar app.jar -> no such file or directoryYou are trying to copy a file that doesn't exist or you have the directories wrong.
Please make sure the Dockerfile works locally before attempting to build with it on Railway.