This web docker container uses the Apache POI library directly from PHP to convert excel file to CSV.
docker-compose up --build
Go to your browser and enter localhost to enter the file.
To clear space, delete all unused images in Docker Desktop > Images.
To access the shell, use docker
instead:
docker build -t excel2csv:1.0 .
docker run --name excel2csv -d -p 80:80 excel2csv:1.0
docker exec -it excel2csv sh
Install XAMPP and add PHP folder to path (C:/xampp/php
). After that run the command php -S localhost:80
.