From c80c96af5e3130c991a31eb611a8ed9b4b8ca788 Mon Sep 17 00:00:00 2001 From: Caspar Jungbacker <74240267+CasparJungbacker@users.noreply.github.com> Date: Sun, 13 Aug 2023 19:29:46 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a05cdd..65563bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,8 @@ -FROM httpd:latest - -COPY ./book/_build/html /usr/local/apache2/htdocs \ No newline at end of file +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" ] \ No newline at end of file