Closed gakowalski closed 3 years ago
Hey @gakowalski !
Thank you for pointing this out! The error that you're facing seems like something related to x11
and your fix will install missing dependencies. This could be good to add it in README
for new comers or maybe dockerizing the bot with an alpine NodeJS image (that we're planning) can fix the issue
I've made some basic docker container to test FGPS on larger facebook groups using 32 GB RAM server. Just running some tests with it: https://github.com/gakowalski/fbjs-container
(After ~45 minutes of constant constant scraping 2.5 GB of RAM is being used. Still working.)
Good work ! How about using a NodeJS alpine image CentOS 8 to reduce to built image size ?
How about creating the Dockerfile
in this repo to have it all centralized?
@all-contributors please add @gakowalski for code, documentation and bug reports
@kaanyagci
I've put up a pull request to add @gakowalski! :tada:
@kaanyagci
How about using a NodeJS alpine image CentOS 8 to reduce to built image size ?
I would like to do that in the next step. I did it on CentOS, because I work in this system on a daily basis.
How about creating the Dockerfile in this repo to have it all centralized?
It's a great idea. I'm just wondering how it should work so it would be easy for everyone. Should it work like now, so launching a container is opening a new terminal session (I think it's not so easy) or should it launch fgps command right away. In the latter case, you would have to determine where to get the data from and where/how to save results.
Also, I I was wondering if it would be worth doing it in the form of a snap.
@kaanyagci OK, I've succesfully excuted fgps --help
command on Alpine, but didn't have time to test if it works in any other way. See the https://github.com/gakowalski/fbjs-container/blob/main/Dockerfile
This looks fantastic!
Do you mind migrating in the repo itself?
Also, I was wondering if it would be worth doing it in the form of a snap.
This would be great !
On CentOS 8 without GUI:
To fix it (and a host of simiilar errors) I did: