Installing Headless chromium w/o docker

Hi Kareem,

There’s a note above the line you uncommented:

# be sure to add Chromes location to the PATH as part of your Start Command

That export needs to be part of the Start Command, not the Build Command/script. The Start Command is on the Settings page of your service and is the command run to start your application. You could prepend the export, e.g.:

export PATH="${PATH}:/opt/render/project/.render/chrome/opt/google/chrome/"; your_normal_start_command;

Or you could create a render-start.sh with those 2 commands in a similar way to the build example.

Hope that helps

Alan

2 Likes