From: josephthaliath Date: Wed, 16 Nov 2022 07:59:05 +0000 (+0530) Subject: Update to Dockerfile X-Git-Tag: 1.0.0~4 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=0e686af38b81a4183225ff78bcd0b865673278fc;p=portal%2Faiml-dashboard.git Update to Dockerfile Issue-Id: AIMLFW-4 Signed-off-by: josephthaliath Change-Id: I4374a72f253a3782e2ff1eae8c53c0e0747df849 --- diff --git a/Dockerfile b/Dockerfile index e4ed0c6..c1a56af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,3 @@ RUN npm install RUN npm install -g serve EXPOSE 32005 - -#------------- ENTRYPOINT ----------------------- -ENTRYPOINT ["serve","-s","build", "-l","32005"] diff --git a/kf-pipelines/Dockerfile.pipeline b/kf-pipelines/Dockerfile.pipeline new file mode 100644 index 0000000..f499df2 --- /dev/null +++ b/kf-pipelines/Dockerfile.pipeline @@ -0,0 +1,42 @@ +# ================================================================================== +# +# Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# ================================================================================== + +FROM python:3.8 +RUN pip3 install protobuf==3.20.1 +RUN pip3 install tensorflow==2.5.0 +RUN pip3 install cassandra-driver==3.25.0 +RUN pip3 install pandas==1.4.4 +RUN pip3 install scikit-learn +RUN pip3 install boto3 +RUN pip3 install botocore +RUN pip3 install kubernetes + +RUN git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/feature-store" +RUN git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/sdk/model-storage" +RUN mkdir -p /SDK/featurestoresdk_main/ +RUN mkdir -p /SDK/modelmetricssdk_main/ + +RUN cp -R feature-store/. /SDK/featurestoresdk_main/. +RUN cp -R model-storage/. /SDK/modelmetricssdk_main/. + +WORKDIR /SDK + +RUN pip3 install featurestoresdk_main/. +RUN pip3 install modelmetricssdk_main/. +RUN mkdir -p /app_run +WORKDIR /app_run