Newer
Older
FROM python:2.7
# create a non-root user
RUN groupadd -g 999 appuser && \
useradd -r -u 999 -g appuser appuser
RUN mkdir -p /app /ebooks
WORKDIR /app
# get GIT, then clone current master of calibre-web
RUN apt-get update
RUN apt-get -y install git
RUN git clone https://github.com/janeczku/calibre-web.git /app
# install the requirements
RUN pip install -r requirements.txt
# install the optional stuff
RUN pip install -r optional-requirements.txt
# install lxml
RUN pip install lxml
# install imagemagick from debian