a year ago
so basically im using dataframe_image library in python which converts pandas dataframe to an .png image. but it requires chromium for conversion and how am i supposed to install it on the server?
0 Replies
a year ago
you could use playwright to install chromium?
they provide a simple command to do it:
playwright install --with-deps chromium
a year ago
you could get this command ran during build by providing a nixpacks.toml file like this one
[phases.chromium]
dependsOn = ['install']
cmds = ['playwright install --with-deps chromium']
but now im trying this thing
https://discord.com/channels/713503345364697088/1078694823000821821
a year ago
a year ago
yeah but running chrome is going to increase your costs, surely you've seen the chrome eats ram memes
a year ago
can't hurt to try
a year ago
playwright is a python package, thus you would need to specify it in your requirements.txt file
a year ago
build logs please
a year ago
this is community support, and on top of that, it's the weekend, please be patient