From 4c03ef49ecc01183ef04e8dbf7c6fdca8d7b61f8 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Thu, 22 Sep 2022 08:45:51 +0000 Subject: [PATCH] Fix missing use of config file Fixed the use of config file. Signed-off-by: subhash kumar singh Change-Id: I717e14f413ba9d9c65bb726bcd58712c55815d92 --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e180c14..0d5642f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- 2.16.6