From 5423cec4bacfffefb22cd8fb1d95348cb2fb6024 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 6 May 2020 07:27:51 -0400 Subject: [PATCH] lol oops --- .drone.yml | 6 +++--- book/Dockerfile | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 book/Dockerfile diff --git a/.drone.yml b/.drone.yml index 01313d8..b94b42e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: - cd book/src && ./build.sh volumes: - name: book - path: /lewa/book + path: /lewa/book/book - name: build mdbook image: xena/mdbook pull: always @@ -19,12 +19,12 @@ steps: - cd book && mdbook build volumes: - name: book - path: /lewa/book + path: /lewa/book/book - name: build image image: docker:dind volumes: - name: book - path: /lewa/book + path: /lewa/book/book - name: dockersock path: /var/run/docker.sock commands: diff --git a/book/Dockerfile b/book/Dockerfile new file mode 100644 index 0000000..ba1a0a2 --- /dev/null +++ b/book/Dockerfile @@ -0,0 +1,6 @@ +FROM xena/alpine +RUN apk --no-cache add quickserv +ENV PORT 3000 +CMD quickserv -port $PORT -dir /book +COPY ./book /book +WORKDIR /book