Dockerfile errors when docker not being used in app

bweathers3
PRO

a year 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

0 Replies

bweathers3
PRO

a year ago

a0ab845a-eb15-4492-b410-d581a4391f9a


a year ago

nixpacks generates a Dockerfile intermediary


a year 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
PRO

a year 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


a year ago

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


a year ago

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


Dockerfile errors when docker not being used in app - Railway Help Station