forked from Controls/gitea-pages
Merge branch 'fix-pip-taking-forever' into 'master'
fix pip taking forever and add Dockerfile to simplify testing See merge request linux-infra/documentation!1
This commit is contained in:
+3
-3
@@ -1,8 +1,8 @@
|
||||
image: continuumio/miniconda3:latest
|
||||
image: debian:latest
|
||||
|
||||
before_script:
|
||||
- conda install -y pyzmq
|
||||
- pip install jupyter-book sphinxcontrib-bibtex
|
||||
- apt-get update && apt-get install -y pip python3-sphinx jupyter-notebook python3-anyio python3-greenlet python3-click python3-jupyter-server python3-sqlalchemy python3-latexcodec python3-nbclient python3-nest-asyncio python3-pybtex python3-pybtex-docutils python3-smmap python3-soupsieve python3-toml
|
||||
- pip install jupyter-book
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
FROM debian:latest
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y pip python3-sphinx jupyter-notebook python3-anyio python3-greenlet python3-click python3-jupyter-server python3-sqlalchemy python3-latexcodec python3-nbclient python3-nest-asyncio python3-pybtex python3-pybtex-docutils python3-smmap python3-soupsieve python3-toml
|
||||
RUN pip install jupyter-book
|
||||
|
||||
RUN mkdir -p /root/documentation
|
||||
COPY * /root/documentation
|
||||
RUN cd /root/documentation && jupyter-book build .
|
||||
|
||||
# TODO make build book accessible through a webserver
|
||||
Reference in New Issue
Block a user