fix: container
This commit is contained in:
parent
3db73cf544
commit
29ba277592
1 changed files with 3 additions and 2 deletions
|
@ -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 /
|
||||
COPY --from=build /app/*.pdf /
|
Loading…
Add table
Reference in a new issue