aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CBA
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-03-14 20:15:04 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-14 20:15:04 +0000
commitd8e68cb1c0c6367682ebb8f5a840046d7459a81f (patch)
tree469ce7d1daff00ae42c7edc6acf00239dfe9f288 /docs/CBA
parent2561d83ecbe8e9da2b4784817cd373e7422229ea (diff)
parent13cdec018bd34aced1a6181d15935341e0ec8590 (diff)
Merge "Formatted Installation steps"
Diffstat (limited to 'docs/CBA')
-rw-r--r--docs/CBA/sections/installation/index.rst36
1 files changed, 17 insertions, 19 deletions
diff --git a/docs/CBA/sections/installation/index.rst b/docs/CBA/sections/installation/index.rst
index cbd26ecdd..60a6db2af 100644
--- a/docs/CBA/sections/installation/index.rst
+++ b/docs/CBA/sections/installation/index.rst
@@ -4,45 +4,43 @@
Installation
============
-.. toctree::
- :maxdepth: 1
Building client html and js files
=================================
-FROM alpine:3.8 as builder
+ * FROM alpine:3.8 as builder
-RUN apk add --no-cache npm
+ * RUN apk add --no-cache npm
-WORKDIR /opt/cds-ui/client/
+ * WORKDIR /opt/cds-ui/client/
-COPY client/package.json /opt/cds-ui/client/
+ * COPY client/package.json /opt/cds-ui/client/
-RUN npm install
+ * RUN npm install
-COPY client /opt/cds-ui/client/
+ * COPY client /opt/cds-ui/client/
-RUN npm run build
+ * RUN npm run build
Building and creating server
============================
-FROM alpine:3.8
+ * FROM alpine:3.8
-WORKDIR /opt/cds-ui/
+ * WORKDIR /opt/cds-ui/
-RUN apk add --no-cache npm
+ * RUN apk add --no-cache npm
-COPY server/package.json /opt/cds-ui/
+ * COPY server/package.json /opt/cds-ui/
-RUN npm install
+ * RUN npm install
-COPY server /opt/cds-ui/
-COPY --from=builder /opt/cds-ui/server/public /opt/cds-ui/public
+ * COPY server /opt/cds-ui/
+ * COPY --from=builder /opt/cds-ui/server/public /opt/cds-ui/public
-RUN npm run build
+ * RUN npm run build
-EXPOSE 3000
+ * EXPOSE 3000
-CMD [ "npm", "start" ] \ No newline at end of file
+ * CMD [ "npm", "start" ] \ No newline at end of file