From c19dfac86f6b934b0608f8e66e4c0d4c611806e4 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Wed, 8 Apr 2026 21:06:31 -0400 Subject: refactor: Preprocess Markdown Files Rather than converting markdown files to html on every request, pre convert them during build of the container. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 54d44d6..8d285c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,7 @@ MAINTAINER Jacob McDonnell EXPOSE 8000 WORKDIR /app COPY . . +RUN apk add pandoc bash +RUN ./MdToHtml RUN go build cmd ["./web"] -- cgit v1.2.3