Fix admportal image
authorPetr Ospalý <p.ospaly@partner.samsung.com>
Fri, 7 Jun 2019 16:30:36 +0000 (18:30 +0200)
committerPetr Ospalý <p.ospaly@partner.samsung.com>
Wed, 12 Jun 2019 15:27:34 +0000 (17:27 +0200)
commit8436b953a938452f2d7c865e3bc2449ecfcabdea
tree907ad5b7e9e91919a2fd77d573917bae409d6ca0
parent71f801193c2db366911766666a4b859286a87f16
Fix admportal image

Docker container should be stateless and be self-contained. When image
is run as container it should behave exactly the same with each run.

This commit moves npm install stuff into docker build stage where
it belongs.

Please, read:
https://docs.docker.com/get-started/part2/

Issue-ID: SDNC-685
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Change-Id: I4ff18b313a9af400bbfc2cbf6f4a1b1334593d9a
admportal/shell/start_portal.sh
installation/admportal/src/main/docker/Dockerfile