aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/applications/sample-horovod-app/Dockerfile
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2019-05-20 11:29:01 -0700
committerDileep Ranganathan <dileep.ranganathan@intel.com>2019-05-20 11:29:01 -0700
commit08d610ca498dc89997fd138d6b7fd4eb341c21ff (patch)
treeb8bb7ded841080d912218277ac52dcb08cdc00f0 /vnfs/DAaaS/applications/sample-horovod-app/Dockerfile
parent592f615ffd3c7452d534b82e48c58535ecc4199c (diff)
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 <dileep.ranganathan@intel.com>
Diffstat (limited to 'vnfs/DAaaS/applications/sample-horovod-app/Dockerfile')
-rw-r--r--vnfs/DAaaS/applications/sample-horovod-app/Dockerfile3
1 files changed, 2 insertions, 1 deletions
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" ]