Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 460 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 460 Bytes

dummy-pdf-or-png

Pseudorandomly returns either a pdf or png file.

Responds to GET requests on "/" port 3000.

Dockerfile multi-stage takes care of building, so to get started you run the following commands in this directory, assuming you have Docker installed.

make build run 
# Optionally
docker build -t dummy-pdf-or-png .
docker run --rm -it -p 3000:3000 dummy-pdf-or-png

On purpose, the service will sometimes deliver a corrupt pdf file.