Can't deploy CloudNode on Fly.io, browser missing
Opened this issue · 3 comments
I am trying to deploy a CloudNode as a Fly app. I can deploy the app, expose port 1818, and send requests from my local Hero client to the app. But invariably I get:
Error: Failed to launch chrome 128.0.6613.137:
Please re-install the browser engine:
-------------------------------------------------
-------------- NPM INSTALL ----------------------
-------------------------------------------------
npm install @ulixee/chrome-128-0
-------------------------------------------------
Here's the repo I'm experimenting with, it's quite small: https://github.com/silknode-dev/silk-ulixee
I've tried directly installing @ulixee/chrome-128-0
, as well as installing Chrome directly via my Dockerfile. Neither worked. Not sure if this is a limitation of Ulixee or I'm just doing something wrong, but either way...please help 😭
You probably need to do post-installs for the chrome browser. You can see a sample docker here that might help - note there are several folders that Hero will write to that you should ensure you have write access to
https://github.com/ulixee/platform/tree/main/cloud/tools/docker
Same issue for me with fly.io.
Have you had any luck with post installs?
i gave up :(