From: Vijay Date: Wed, 25 Oct 2017 20:23:08 +0000 (+0000) Subject: remove dual port mapping X-Git-Tag: v1.1.4~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=72e1ebb4960dcbf2262cd89b25d43af5d957fe1b;p=dcaegen2%2Fcollectors%2Fves.git remove dual port mapping Change-Id: Ia620f4a51dc6c0ffb16a85e0ea7587c49603f16b Issue-ID:DCAEGEN2-128 Signed-off-by: Vijay --- diff --git a/Dockerfile b/Dockerfile index c73703d3..c7f7c2e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,6 @@ RUN apt-get update && apt-get install -y \ COPY opt /opt -EXPOSE 8080 8443 +EXPOSE 8080 CMD [ "/opt/app/docker-entry.sh" ] diff --git a/src/main/scripts/docker-entry.sh b/src/main/scripts/docker-entry.sh index f5ddedb0..34cbe4cb 100644 --- a/src/main/scripts/docker-entry.sh +++ b/src/main/scripts/docker-entry.sh @@ -20,7 +20,7 @@ ### if [ ! -z "$COLLECTOR_IP" ]; then - echo $COLLECTOR_IP $(hostname).dcae.simpledemo.openecomp.org >> /etc/hosts + echo $COLLECTOR_IP $(hostname).dcae.simpledemo.onap.org >> /etc/hosts fi if [ ! -z "$DMAAPHOST" ]; then