interesting: turns out we don't actually need pandoc

This commit is contained in:
2024-11-24 00:53:07 -06:00
parent a90b3c888e
commit 0811f1c396
6 changed files with 356 additions and 54 deletions

View File

@@ -6,11 +6,6 @@ RUN npm install && npm run build
FROM node:22.11.0-bookworm-slim AS runner
LABEL maintainer="Nicola Clark <nicola@slottedspoon.dev>"
EXPOSE 3000
ENV LANG=C.UTF-8
RUN apt-get update && \
apt-get install -y pandoc texlive && \
rm -rf /var/lib/apt/lists/*
RUN useradd -u 9999 pdoc
WORKDIR /app
COPY package.json package-lock.json ./
COPY --from=builder /app/build ./build