mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-09 20:51:12 -06:00
This adds a Dockerfile to run the project. All you need to do now is run `make` in the root folder and the pdf will be built.
16 lines
345 B
Docker
16 lines
345 B
Docker
# Dockerfile.rails
|
|
FROM ghcr.io/xu-cheng/texlive-full
|
|
|
|
WORKDIR /root
|
|
|
|
RUN apk add make zip tidyhtml
|
|
RUN wget https://archive.org/download/kindlegen_linux_2_6_i386_v2_9/kindlegen_linux_2.6_i386_v2_9.tar.gz
|
|
RUN tar xzf kindlegen_linux_2.6_i386_v2_9.tar.gz
|
|
RUN mv kindlegen /usr/bin
|
|
|
|
WORKDIR /opt/the-sourdough-framework
|
|
|
|
COPY . .
|
|
|
|
CMD ["/bin/sh"]
|