Skip to content

Schanihbg/exjobb-docker

Repository files navigation

exjobb-docker

Requirements

  • Docker

Docker desktop for Windows

Allow execution of unsigned PowerShell scripts.

Run as PowerShell as administrator then enter

Set-ExecutionPolicy Remotesigned

Build docker images

Mac OS / Linux

sh docker-build-images.sh

Windows

./docker-build-images.ps1

Start all containers

docker-compose up

These ports are exposed

Container Port
baseline 8080 
gzip 8081
minify 8082
bundling 8083
tree_shaking 8084
code_splitting 8085
all 8086

Run Lighthouse tests

Mac OS / Linux

sh lighthouse-tests.sh

Windows

./lighthouse-tests.ps1

Lighthouse reports

Located in lighthouse-reports

They will be named:

report_1_baseline.html
report_2_gzip.html
report_3_minify.html
report_4_bundling.html
report_5_tree_shaking.html
report_6_code_splitting.html
report_7_all.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published