From 70704bfb52a88eeb1675314ab82bf1f7c68fc207 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sun, 14 Jul 2019 19:54:17 -0700 Subject: [PATCH] Generating docs on startup --- docker/mainnet/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/mainnet/Dockerfile b/docker/mainnet/Dockerfile index 13f0b7e..49ec217 100644 --- a/docker/mainnet/Dockerfile +++ b/docker/mainnet/Dockerfile @@ -11,12 +11,14 @@ USER safeuser # Prep 'sudo' commands. #RUN echo 'abcd8765' | sudo -S pwd -# Clone the Bitcore repository +# Clone the repository WORKDIR /home/safeuser RUN git clone https://github.com/christroutner/bch-api WORKDIR /home/safeuser/bch-api RUN npm install +# Generate documentation +RUN npm run docs EXPOSE 3000