Skip to content

Commit c750c8b

Browse files
committed
Create Dockerfile for generating static notebooks
1 parent 355a90a commit c750c8b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM python:3.4-jessie
2+
3+
# # install pelican-ipynb dependencies
4+
# # https://github.com/danielfrg/pelican-ipynb
5+
# RUN pip install --upgrade pip && \
6+
# pip install \
7+
# pelican>=3.5 \
8+
# jupyter>=1.0 \
9+
# ipython>=4.0 \
10+
# nbconvert>=4.0
11+
12+
13+
RUN mkdir -p /opt/site
14+
WORKDIR /opt/site
15+
16+
# install pelican-ipynb
17+
RUN mkdir plugins
18+
RUN git clone git://github.com/danielfrg/pelican-ipynb.git plugins/ipynb
19+
20+
RUN pip install --upgrade pip && \
21+
pip install -r plugins/ipynb/requirements.txt
22+
23+
RUN mkdir content
24+
25+
COPY pelicanconf.py .
26+
27+
CMD /bin/bash

0 commit comments

Comments
 (0)