Public | Automated Build

Last pushed: 10 days ago
Short Description
POST a template and data, get formatted document in return
Full Description


docxtemplater-webservice-docker


Upload template and data, get formatted document in return

curl \
  -F "title=This is my title" \
  -F "description=Love my description" \
  -F "body=My body is beautiful" \
  -F "file=@test/data/testdoc.docx" \
  http://localhost:3000 > converted.docx

Docker

Build the image

$ docker build -t docxtemplater .

Run the image

docker run -d -p 80:3000 --name docx docxtemplater
Docker Pull Command
Owner
telemark

Comments (0)