Update Dockerfile

This commit is contained in:
Caspar Jungbacker 2023-08-13 19:29:46 +02:00
parent fd4d3df4b7
commit c80c96af5e

View file

@ -1,3 +1,8 @@
FROM httpd:latest
COPY ./book/_build/html /usr/local/apache2/htdocs
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" ]