lol oops
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Cadey Ratio 2020-05-06 07:27:51 -04:00
parent 28d76b1e06
commit 5423cec4ba
2 changed files with 9 additions and 3 deletions

View File

@ -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:

6
book/Dockerfile Normal file
View File

@ -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