summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-08 21:06:31 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-08 21:06:31 -0400
commitc19dfac86f6b934b0608f8e66e4c0d4c611806e4 (patch)
tree53e2d7ceb01bc73fb91b6f5d0e57fd79efdd991d /Dockerfile
parenta45ec48ef2a48c75d7c20d9c2d20a34de2fe2ba3 (diff)
refactor: Preprocess Markdown Filesv1.1.0
Rather than converting markdown files to html on every request, pre convert them during build of the container.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 54d44d6..8d285c9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,5 +3,7 @@ MAINTAINER Jacob McDonnell <jacob@jacobmcdonnell.com>
EXPOSE 8000
WORKDIR /app
COPY . .
+RUN apk add pandoc bash
+RUN ./MdToHtml
RUN go build
cmd ["./web"]