Public | Automated Build

Last pushed: 2 years ago
Short Description
Convert documents to a pdf. Convert a document's first page to an image.
Full Description

Eboost Convert

Convert any document to pdf or image using a docker webservice.


Build image

$ docker build -t convert .

Run image

$ docker run -d -p 3000:3000 --name convert convert
Turn on debugging
$ docker run -d -p 3000:3000 -e "APP_ENV=local" -e "APP_DEBUG=true" --name convert convert


Post the file you want to convert and get the converted file in return.
The url for the convert webservice is http://dockerip/convert/{new-file-format}

Creating a pdf from docx
$ curl --form file=@somedocument.docx > newfile.pdf
Creating a jpg from docx
$ curl --form file=@somedocument.docx > newfile.jpg
Docker Pull Command
Source Repository