cosmere-books/Dockerfile
Nemo 4411b032ed Adds Wind and Truth (till Ch9)
other changes:
1. go away wkhtml2pdf
2. switch to wkhtml2pdf
3. go away calibre, mobi isnt' used anywhere now

want to get rid of pdftk also, soon
2024-08-28 17:50:40 +05:30

32 lines
583 B
Docker

# LTS Image
FROM ubuntu:22.04
LABEL maintainer="github.cosmere-ebooks@captnemo.in"
ARG DEBIAN_FRONTEND="noninteractive"
COPY Gemfile Gemfile.lock /src/
WORKDIR /src
RUN apt-get update && \
apt-get update && apt-get install -y --no-install-recommends \
build-essential \
pandoc \
pdftk-java \
ruby \
ruby-dev \
wget \
zlib1g-dev \
python3-xhtml2pdf \
&& gem install bundler \
&& bundle install \
&& apt-get remove -y --purge build-essential \
&& apt-get clean
COPY . /src
ENTRYPOINT ["/src/bootstrap.sh"]
VOLUME ["/output"]