Docx to PDF Converter with HTTP Server in Docker using LibreOffice
- Fast
- Simple
- Extendable
- Clone the repository:
git clone https://github.com/Altynboy/pdffear.git
cd pdffear- Build image:
docker run build -t pdffear .- Run the container:
docker run --rm -d -p 8080:8080/tcp pdffear:latest- Send docx:
curl --location 'localhost:8080/upload' \
--form 'myFile=@"/C:/your-folder/test.docx"'