This Dockerfile is used for the static site documentation generator daux.io and installs all required dependencies to execute npx, composer and PHP.
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.
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