Adding required DB table for LCM functionality
[appc/deployment.git] / installation / appc / src / main / docker / Dockerfile
index 8b2addf..4cbe30e 100644 (file)
@@ -1,11 +1,13 @@
-# Base ubuntu with added packages needed for open ecomp
-FROM ecomp/sdnc-image:1.0.0-SNAPSHOT
+# Base ubuntu with added packages needed for ONAP
+FROM openecomp/sdnc-image:1.1.2-SNAPSHOT-STAGING-170625-122013
 MAINTAINER APP-C Team (appc@lists.openecomp.org)
 
-# copy openecomp
-COPY opt /opt
+# Set the Env. Variable in the container to add the APPC CONFIG DIR (the SDNC_CONFIG_DIR is inherited from SDNC Image)
+ENV APPC_CONFIG_DIR /opt/openecomp/appc/data/properties
 
+# Copy the opt folder to the container's /opt folder
+COPY opt /opt
 RUN ln -s /opt/openecomp/appc /opt/appc
 
-# ENTRYPOINT exec /opt/opendaylight/current/bin/karaf
+# Expose port 8181 for ODL REST calls
 EXPOSE 8181