summaryrefslogtreecommitdiffstats
path: root/lcm/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/docker/Dockerfile')
-rwxr-xr-xlcm/docker/Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/lcm/docker/Dockerfile b/lcm/docker/Dockerfile
index e552304e..5b847db3 100755
--- a/lcm/docker/Dockerfile
+++ b/lcm/docker/Dockerfile
@@ -27,7 +27,7 @@ RUN apt-get update && \
apt-get install -y unzip
ADD . /service
-RUN cd /service
+WORKDIR /service
# get binary zip from nexus
RUN wget -q -O vfc-gvnfm-vnflcm-lcm.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.gvnfm.vnflcm&a=vfc-gvnfm-vnflcm-lcm&v=LATEST&e=zip' && \
@@ -44,6 +44,5 @@ RUN wget -q -O vfc-gvnfm-vnfres-res.zip 'https://nexus.onap.org/service/local/ar
EXPOSE 8801
EXPOSE 3306
-WORKDIR /service/vfc/gvnfm/vnflcm/
-
-CMD lcm/docker/instance_init.sh
+WORKDIR /service
+ENTRYPOINT vfc/gvnfm/vnflcm/lcm/docker/docker-entrypoint.sh