mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-29 06:13:58 -06:00
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:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user