Trying to deploy a Rails 6.x app and having Yarn issues.

Make a one line fix to your Dockerfile and you should be up and running.

Before:

RUN volta install node@${NODE_VERSION}

After:

RUN volta install node@${NODE_VERSION} yarn

I’ll fix flyctl to generate a correct Dockerfile handing this case going forward.

1 Like