This transpile :
pug files must be located in pages folder /data/pages/a file.pug and can be accessed with url : http://domain/a file.html
/!\ Note the missing page/ in the url.
less files can be located anywhere /data/somewhere/my style.less and can be accessed with url : http://domain/somewhere/my style.css
php files /data/a/script.php can be accessed directly with url : http://domain/somewhere/**a/script.php**
html files /data/pages/file.html or /data/file.html can both be accessed directly with url : http://domain/**file.html**
other resources files /data/a/resource.ext can be accessed directly with url : http://domain/somewhere/**a/resource.ext**
docker run -d -p 3001:80 -v /tmp/data:/data --name transpiler-php calfater/transpiler-php
Content type
Image
Digest
Size
180.1 MB
Last updated
over 7 years ago
docker pull calfater/transpiler-php