-
-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lighthouse + npm + inside docker using shell file provided for npm installs #4442
Comments
Hi @Sarthakgp you need to install those plugins here's a Dockerfile that do that: https://github.com/sitespeedio/sitespeed.io/blob/main/docker/Dockerfile-plus1 |
Hey @soulgalore thanks for responding. That makes sense. But even when I insert it in shell file
and in my dockerfile the lighthouse.html is not generated |
If you use the pre-made container:
as in https://www.sitespeed.io/documentation/sitespeed.io/lighthouse/ does it work for you then? |
Yes that is very great. I tried it but I was hoping to have more control over it using npm. |
Ok, I didn't fully understand, do you want to create your own Docker container (then follow the link on how we setup the container or do that not work for you?) or do you want to run using npm? |
Ok sorry I was not able to explain properly. I want to create my own Docker container using my dockerfile which will have all installations using npm. I even included the shell file When I use the prebuilt plus-1 image I am able to get the lighthouse metrics but when I do the above process I am not able to get the lighthouse metrics Following the above process gives me more control over things so I was hoping to do it that way. So any suggestion swill be helpful. Thanks |
Your question
I am unable to use lighthouse and google page speed index with sitespeed.io and I was not able to find any configuration for it
I am using dockerfile in which I use the shell file provided for sitespeed installation using npm
The command I am running is as follows
sitespeedio@b241c2e33d32:~$ sitespeed.io https://www.sitespeed.io --xvfb -b chrome --video false --visualmetrics false --headless true --browsertime.chrome.args no-sandbox
How can I include lighthouse and gpsi metrics in this?
The text was updated successfully, but these errors were encountered: