Fixed the use of config file.
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Change-Id: I717e14f413ba9d9c65bb726bcd58712c55815d92
&& chmod -R 755 /opt/dms
COPY --from=dms-build /go/src/ws/cache/go/cmd/ric-dms /opt/dms/ric-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/
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
ENTRYPOINT ["/opt/dms/dms-entrypoint.sh"]
\ No newline at end of file