This repo contains the scripts and files used to build the image to use Cleaver with Docker. These images are currently built with GitHub actions, and published to the Docker Hub.
These are the current tags available:
aschmelyun/cleaver:latest
- The latest stable version of the Docker image
Use this image to build your Cleaver site by following these steps:
- Install Docker if you haven't already
- Create a new Cleaver project with
git clone https://github.com/aschmelyun/cleaver.git .
- In your project root, run
docker run --rm -v $(pwd):/var/www aschmelyun/cleaver
After the build completes, the Docker image will be removed and you should now have a dist
directory in your project folder containing the compiled assets for your site.
You can add production
to the end of the docker run
command to run PurgeCSS and minify the assets for production.