Crop image with Croppie vanilla JS Try with Docker run it from the root directory of the project docker run -it --rm --name croppie-test -p 8123:80 -v "$PWD":/usr/local/apache2/htdocs/ httpd:2.4