mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2026-02-18 04:07:15 -06:00
🎉 Book Website (#145)
* Basic script to modify html output * Modify HTML of website * Add makefile * Compile website in CI * Improve readme
This commit is contained in:
committed by
GitHub
parent
dc2b810743
commit
d5889a67a1
14
Dockerfile
14
Dockerfile
@@ -17,11 +17,21 @@ RUN apt-get update && \
|
||||
pandoc \
|
||||
zip \
|
||||
git \
|
||||
wget
|
||||
wget \
|
||||
ruby3.1 \
|
||||
ruby-dev \
|
||||
build-essential
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
# Support to build amazon kindle books
|
||||
# Install ruby for the website build process
|
||||
RUN gem install bundler
|
||||
COPY website/Gemfile.lock /root
|
||||
COPY website/Gemfile /root
|
||||
COPY website/.ruby-version /root
|
||||
RUN bundle install
|
||||
|
||||
# Install support to build amazon kindle books
|
||||
RUN wget https://archive.org/download/kindlegen_linux_2_6_i386_v2_9/kindlegen_linux_2.6_i386_v2_9.tar.gz && \
|
||||
tar xzf kindlegen_linux_2.6_i386_v2_9.tar.gz && \
|
||||
mv kindlegen /usr/bin
|
||||
|
||||
Reference in New Issue
Block a user