Generating docs on startup

This commit is contained in:
Chris Troutner
2019-07-14 19:54:17 -07:00
parent 5129dab6f7
commit 70704bfb52
+3 -1
View File
@@ -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