FROM alpine:3.24
RUN apk add --no-cache nodejs typst git
RUN mkdir -p /usr/share/typst/packages/local/hswro/0.0.1/
COPY 0.0.1/ /usr/share/typst/packages/local/hswro/0.0.1/
ENV TYPST_PACKAGE_PATH /usr/share/typst/packages/
WORKDIR /data