Fix missing use of config file 65/9065/1
authorsubhash kumar singh <subh.singh@samsung.com>
Thu, 22 Sep 2022 08:45:51 +0000 (08:45 +0000)
committersubhash kumar singh <subh.singh@samsung.com>
Thu, 22 Sep 2022 08:45:51 +0000 (08:45 +0000)
Fixed the use of config file.

Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Change-Id: I717e14f413ba9d9c65bb726bcd58712c55815d92

Dockerfile

index e180c14..0d5642f 100644 (file)
@@ -75,8 +75,12 @@ RUN mkdir -p /opt/dms \
     && chmod -R 755 /opt/dms
 
 COPY --from=dms-build /go/src/ws/cache/go/cmd/ric-dms /opt/dms/ric-dms
-
+COPY --from=dms-build /go/src/ws/config/config.yaml /opt/dms/config.yaml
 WORKDIR /opt/dms
 
 COPY dms-entrypoint.sh /opt/dms/
+
+ARG default_config=/opt/dms/config.yaml
+ENV RIC_DMS_CONFIG_FILE=$default_config
+
 ENTRYPOINT ["/opt/dms/dms-entrypoint.sh"]
\ No newline at end of file