Dockerfile for GitBook
This commit is contained in:
parent
db612738e8
commit
dc289fc60e
|
@ -0,0 +1,13 @@
|
||||||
|
FROM python:3.7
|
||||||
|
|
||||||
|
EXPOSE 4000
|
||||||
|
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y nodejs npm && apt-get clean;
|
||||||
|
RUN npm install gitbook-cli -g
|
||||||
|
|
||||||
|
WORKDIR /opt/book/
|
||||||
|
COPY . /opt/book/
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
CMD ["gitbook", "serve"]
|
Loading…
Reference in New Issue