feat: extract pdf from mp/pdf — initial libreshop/pdf
Some checks failed
Build and publish / build (push) Failing after 17s
Some checks failed
Build and publish / build (push) Failing after 17s
Source moved verbatim from mp/pdf/ on 2026-04-29; mp was the first concrete adapter consuming the libreshop toolkit. Builds and publishes git.librete.ch/libreshop/pdf on every main / v* push via the standard .gitea/workflows/build.yml shared across libreshop components.
This commit is contained in:
27
Dockerfile
Normal file
27
Dockerfile
Normal file
@@ -0,0 +1,27 @@
|
||||
FROM rstropek/pandoc-latex:3.1
|
||||
|
||||
RUN apk add --no-cache --update \
|
||||
make \
|
||||
python3 py-pip \
|
||||
fontconfig ttf-freefont font-noto
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN tlmgr update --self
|
||||
RUN tlmgr install ragged2e xltxtra realscripts wallpaper eso-pic \
|
||||
titlesec arydshln spreadtab enumitem xstring
|
||||
|
||||
COPY ./requirements.txt /app/requirements.txt
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY ./data /app/data
|
||||
COPY ./src /app/src
|
||||
COPY ./makefile /app/makefile
|
||||
COPY ./docker-entrypoint.sh /app/docker-entrypoint.sh
|
||||
|
||||
RUN chmod +x /app/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
||||
|
||||
EXPOSE 1111
|
||||
Reference in New Issue
Block a user