Dockerfile errors when docker not being used in app
bweathers3
PROOP

2 years ago

I am getting these errors on deployment when not using a docker file with the app?

Dockerfile:36

34 | # build phase

35 | COPY . /app/.

36 | >>> RUN bundle exec rake assets:precompile

37 | RUN bundle exec bootsnap precompile app/ lib/

38 |

ERROR: failed to solve: process "/bin/bash -ol pipefail -c bundle exec rake assets:precompile" did not complete successfully: exit code: 1

Error: Docker build failed

6 Replies

bweathers3
PROOP

2 years ago

a0ab845a-eb15-4492-b410-d581a4391f9a


brody
EMPLOYEE

2 years ago

nixpacks generates a Dockerfile intermediary


brody
EMPLOYEE

2 years ago

either way, you would need to read your entire build logs and look for the error, what you provided is just the printout of what command had the error, the actual error would be further up in your logs


bweathers3
PROOP

2 years ago

Brody, I need help with that. How can I do this. It's total frustating when things work fine then you guys change something and the app crashes


brody
EMPLOYEE

2 years ago

the logs are scrollable, please scroll up so you can find the error message


brody
EMPLOYEE

2 years ago

for what it's worth, I didn't change anything because I don't work for railway


Loading...