Abort execution if there is any error running scripts

This commit is contained in:
Manuel de Brito Fontes 2018-08-30 15:12:00 -03:00
parent 3cb886c497
commit be0fdc620f
5 changed files with 22 additions and 14 deletions

View file

@ -15,6 +15,7 @@
FROM alpine:3.7
RUN apk update && apk add --no-cache \
bash \
git \
git-fast-import \
openssh \
@ -34,6 +35,6 @@ WORKDIR /docs
EXPOSE 3000
ENTRYPOINT ["mkdocs"]
COPY entrypoint.sh /
CMD ["serve", "--dev-addr=0.0.0.0:3000", "--livereload"]
ENTRYPOINT ["/entrypoint.sh"]