Modifying code to point to AAIService Properties
[appc/deployment.git] / installation / appc / src / main / docker / Dockerfile
index 7be2093..535b2be 100644 (file)
@@ -2,10 +2,12 @@
 FROM openecomp/sdnc-image:1.1.2-SNAPSHOT
 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