mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 06:45:52 +00:00
Update Dockerfile
This commit is contained in:
parent
fd4d3df4b7
commit
c80c96af5e
1 changed files with 8 additions and 3 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -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" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue