Add Dockerfile

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.
This commit is contained in:
Hendrik Kleinwaechter
2023-03-02 17:19:02 -05:00
parent 201d0872e6
commit 37f845429b
4 changed files with 64 additions and 11 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
# 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"]