Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 897 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 897 Bytes

Builder for daux.io

This Dockerfile is used for the static site documentation generator daux.io and installs all required dependencies to execute npx, composer and PHP.

Usage

We are using this image for generating and publishing the documentation for our tools. You can mount the corresponding Docker image and then execute the following commands

docker run -it -v $(pwd)/docs-in-daux-format:/src neosit/daux-io-builder:latest
# in container
cd /src
npm install
composer install
npx crafty run --verbose
daux generate

After having finished the build, you can copy the content of the generated $(pwd)/docs-in-daux-format/static directory to your webserver.

Build

docker build . -t neosit/daux-io-builder:latest
docker push neosit/daux-io-builder:latest
docker build . -t neosit/daux-io-builder:php-8.1
docker push neosit/daux-io-builder:php-8.1