From 29ba2775924404838f08f6a3428fba23828ffd78 Mon Sep 17 00:00:00 2001 From: ndsboy Date: Tue, 24 Sep 2024 18:53:24 +0000 Subject: [PATCH] fix: container --- Containerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 654b7e8..604fe1f 100644 --- a/Containerfile +++ b/Containerfile @@ -1,8 +1,9 @@ FROM docker.io/alpine:latest AS build +WORKDIR /app RUN apk add typst RUN wget -O ubuntu.ttf https://cdn.jsdelivr.net/fontsource/fonts/ubuntu@latest/latin-400-normal.ttf RUN wget -O noto.ttf https://cdn.jsdelivr.net/fontsource/fonts/noto-sans@latest/latin-400-normal.ttf -ENV TYPST_FONT_PATHS=. +ENV TYPST_FONT_PATHS=/app COPY . . RUN typst c 3d-druck-agb.typ @@ -16,4 +17,4 @@ RUN typst c werkstatt-agb.typ RUN typst c werkstatt-regeln.typ FROM scratch -COPY --from=build *.pdf / \ No newline at end of file +COPY --from=build /app/*.pdf / \ No newline at end of file