Let's say you want to host domains first.com and second.com.
Create folders for their files:
| const brotli = require('brotli') | |
| const fs = require('fs') | |
| const brotliSettings = { | |
| extension: 'br', | |
| skipLarger: true, | |
| mode: 1, // 0 = generic, 1 = text, 2 = font (WOFF2) | |
| quality: 10, // 0 - 11, | |
| lgwin: 12 // default | |
| } |
| FROM php:5.6-apache | |
| RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_pgsql | |
| COPY src/ /var/www/html |
###PHPUnit logfile XLST template
This fileset provides an easy way to view the PHPUnit XML (JUnit) logfiles in a human readable manner using a web browser.
Use this either in combination with the accompanying html file or add the following tag straight
after the xml opening tag of the logfile:
<?xml-stylesheet type="text/xsl" href="phpunit.xslt"?>
The thresholds used for the colour-coding and whether or not to show detail for successfull tests can be changed by adjusting the variables at the top of the xslt file.