Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ WORKDIR /root
# ==============================================================================
# install epubcheck
# ==============================================================================
ENV EPUB_VERSION=4.0.2

RUN curl -LO \
https://github.com/IDPF/epubcheck/releases/download/v3.0/epubcheck-3.0.zip \
&& unzip epubcheck-3.0.zip -d bin && rm epubcheck-3.0.zip
https://github.com/IDPF/epubcheck/releases/download/v${EPUB_VERSION}/epubcheck-${EPUB_VERSION}.zip \
&& unzip epubcheck-${EPUB_VERSION}.zip -d bin && rm epubcheck-${EPUB_VERSION}.zip

# ==============================================================================
# install kindlegen
Expand Down Expand Up @@ -58,4 +60,4 @@ EXPOSE 4000
# $ docker run -v `pwd`:/book softcover:latest sc build:html

# run server:
# $ docker run -v `pwd`:/book -d -p 4000:4000 softcover:latest sc server
# $ docker run -v `pwd`:/book -d -p 4000:4000 softcover:latest sc server