Trouble Finding chromium-driver Path After Deployment on Fly.io

I’ve recently deployed a Rails project on Fly.io using fly deploy, and I’m encountering an issue where I cannot locate the chromium-driver path after deployment.

My Dockerfile includes the installation of dependencies, including chromium and chromium-driver. Here’s the relevant snippet:

RUN apt-get update -qq && \
    apt-get install -y \
    chromium \
    chromium-driver \
    xvfb && \
    rm -rf /var/lib/apt/lists/*

The deployment completes without errors, but when I try to use the chromium-driver, it seems to be missing. Has anyone faced a similar problem, and could you suggest how to ensure chromium-driver is correctly installed and locatable in the Fly.io environment?

Any advice or guidance would be greatly appreciated.

Thank you!

Here’s a Rails Dockerfile that includes chromium:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.