Skip to content

Commit

Permalink
Add pandoc microservice
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Apr 26, 2024
1 parent d31ff2e commit 6ca709f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker-images/pandoc/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ARG TAG=main
ARG DOCKER_REPOSITORY=local
FROM ${DOCKER_REPOSITORY}/scyllaridae:${TAG} AS scyllaridae

FROM pandoc/minimal:3.1.1
WORKDIR /app
COPY --from=scyllaridae /app/scyllaridae .
COPY scyllaridae.yml .
13 changes: 13 additions & 0 deletions docker-images/pandoc/scyllaridae.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
destinationHttpMethod: PUT
allowedMimeTypes: [
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
]
cmdByMimeType:
"application/vnd.openxmlformats-officedocument.wordprocessingml.document":
cmd: /usr/local/bin/pandoc
args: [
"-f"
"docx"
"-t"
"pdf"
]

0 comments on commit 6ca709f

Please sign in to comment.