Docker image builder based on Nginx + Trafex + Celeron to easy view HTML Files. Use suggestions:
- Include all your static HTML test report files to easy folks access
- 1 Click view reports (better than download them on CI tool as artifact 😁 )
docker build -t nginx-trafex-celeron .
docker run --rm --name nginx-php-report -p 80:8080 nginx-trafex-celeron
docker run --rm --name nginx-php-report -p 80:8080 -v "$(pwd):/var/www/html" -w "/var/www/html/" nginx-trafex-celeron
- Current file/folder directory and
docker cp file_to_upload.txt nginx-php-report:/var/www/html
- Go to your favorite web browser and
http://localhost:8080/index.php
docker exec -it --user root nginx-php-report sh