mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 14:55:51 +00:00
8 lines
No EOL
286 B
Docker
8 lines
No EOL
286 B
Docker
FROM continuumio/miniconda3
|
|
WORKDIR /book
|
|
COPY book/ .
|
|
RUN apt-get update && apt-get -y install git gcc
|
|
COPY requirements.txt requirements.txt
|
|
RUN pip install -r requirements.txt
|
|
RUN jupyter book build .
|
|
ENTRYPOINT [ "python", "-m", "http.server", "8000", "--directory", "_build/html" ] |