From 08d610ca498dc89997fd138d6b7fd4eb341c21ff Mon Sep 17 00:00:00 2001 From: Dileep Ranganathan Date: Mon, 20 May 2019 11:29:01 -0700 Subject: Save Tensorflow model to Minio repository Export and save the tensorflow model using Keras API. Added support for Minio model repo by injecting the credentials to Horovod pods. This model then can be served using Tensorflow Serving. Change-Id: Id1e0b6696bc2bb1699786b08651c4d3bc353976c Issue-ID: ONAPARC-460 Signed-off-by: Dileep Ranganathan --- vnfs/DAaaS/applications/sample-horovod-app/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vnfs/DAaaS/applications/sample-horovod-app/Dockerfile') diff --git a/vnfs/DAaaS/applications/sample-horovod-app/Dockerfile b/vnfs/DAaaS/applications/sample-horovod-app/Dockerfile index 8bdcf5b6..5b8f5636 100644 --- a/vnfs/DAaaS/applications/sample-horovod-app/Dockerfile +++ b/vnfs/DAaaS/applications/sample-horovod-app/Dockerfile @@ -121,7 +121,7 @@ COPY ${spark_jars} /opt/spark/jars COPY bin /opt/spark/bin COPY sbin /opt/spark/sbin COPY ${img_path}/spark/entrypoint.sh /opt/ -COPY examples /opt/spark/examples + COPY ${k8s_tests} /opt/spark/tests COPY data /opt/spark/data ENV SPARK_HOME /opt/spark @@ -135,6 +135,7 @@ ENV PATH /opt/conda/envs/tf_env/bin:$PATH RUN echo "export PATH=/opt/conda/envs/tf_env/bin:$PATH" >> ~/.bashrc # echo "activate tf_env\n" >> ~/.bashrc RUN pip install petastorm +COPY examples /opt/spark/examples WORKDIR /opt/spark/work-dir ENTRYPOINT [ "/opt/entrypoint.sh" ] -- cgit