Skip to content
Simple http microservice that converts Word documents to PDF
Python HTML Dockerfile
Branch: master
Clone or download
Latest commit e14abf5 May 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
templates Add author Mar 30, 2019
.gitignore rm .DS_Store Nov 19, 2018
Dockerfile
LICENSE First result of web server that executes potrace Nov 19, 2018
README.md button .png to .svg May 30, 2019
to-pdf.py Parse PORT to int Mar 31, 2019

README.md

"to PDF" as a service

A simple web service that transforms the given document into a PDF file.

Run with docker run -p 8080:8080 gcr.io/as-a-service-dev/pdf

URL parameters:

  • input: URL of the document to transform.

Running the server locally

  • Build with docker build . -t pdf
  • Start with docker run -p 8080:8080 pdf
  • Open in your browser at http://localhost:8080/?url=http://homepages.inf.ed.ac.uk/neilb/TestWordDoc.doc

Deploy to your server

The following container image always reflects the latest version of the master branch of this repo: gcr.io/as-a-service-dev/pdf

Deploy to Google Cloud

Run on Google Cloud

Or use gcloud beta run deploy --image gcr.io/as-a-service-dev/pdf

You can’t perform that action at this time.