-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[minor] Add pandoc microservice (#4)
- Loading branch information
Showing
3 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ARG TAG=main | ||
ARG DOCKER_REPOSITORY=local | ||
FROM ${DOCKER_REPOSITORY}/scyllaridae:${TAG} AS scyllaridae | ||
FROM pandoc/latex:3.1.1 AS pandoc | ||
|
||
WORKDIR /app | ||
COPY --from=scyllaridae /app/scyllaridae /app/scyllaridae | ||
COPY scyllaridae.yml . | ||
ENTRYPOINT ["/app/scyllaridae"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
destinationHttpMethod: PUT | ||
allowedMimeTypes: | ||
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | ||
- "application/xml" | ||
cmdByMimeType: | ||
default: | ||
cmd: /usr/local/bin/pandoc | ||
args: | ||
- "-f" | ||
- "docx" | ||
- "-t" | ||
- "pdf" |