diff --git a/agent-langchain/0.3.0/24.03-lts/Dockerfile b/agent-langchain/0.3.0/24.03-lts/Dockerfile deleted file mode 100644 index 5ccd0e1ca0468c8dc2d9bd026ef535282b25a441..0000000000000000000000000000000000000000 --- a/agent-langchain/0.3.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && \ - yum install -y \ - --setopt=install_weak_deps=False \ - python-pip python \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user -RUN git clone https://github.com/opea-project/GenAIComps.git - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/DocSum/docsum.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=/usr/bin/python:/home/user/GenAIComps - -ENTRYPOINT ["python", "docsum.py"] diff --git a/agent-langchain/meta.yml b/agent-langchain/meta.yml deleted file mode 100644 index bef603ca6d47429cf4b465841cf15c629083e8de..0000000000000000000000000000000000000000 --- a/agent-langchain/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: agent-langchain/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/chatqna-conversation-ui/1.0/24.03-lts/Dockerfile b/chatqna-conversation-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index eacfe6dba5af1c76bd5e13cfa18ad276a8458806..0000000000000000000000000000000000000000 --- a/chatqna-conversation-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts as vite-app - -# Update package manager and install Git -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - git \ - npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -WORKDIR /home/user/GenAIExamples/ChatQnA/ui/react - -RUN ["npm", "install"] -RUN ["npm", "run", "build"] - -FROM openeuler/nginx:1.27.2-oe2403lts - -COPY --from=vite-app /home/user/GenAIExamples/ChatQnA/ui/react/dist /usr/local/nginx/html - -COPY env.sh /docker-entrypoint.d/env.sh - -COPY nginx.conf /etc/nginx/conf.d/default.conf -RUN chmod +x /docker-entrypoint.d/env.sh \ No newline at end of file diff --git a/chatqna-conversation-ui/1.0/24.03-lts/env.sh b/chatqna-conversation-ui/1.0/24.03-lts/env.sh deleted file mode 100644 index b9660aabba1f153d1faca10b5119bde45d101b18..0000000000000000000000000000000000000000 --- a/chatqna-conversation-ui/1.0/24.03-lts/env.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -for i in $(env | grep APP_) #// Make sure to use the prefix MY_APP_ if you have any other prefix in env.production file variable name replace it with MY_APP_ -do - key=$(echo $i | cut -d '=' -f 1) - value=$(echo $i | cut -d '=' -f 2-) - echo $key=$value - # sed All files - # find /usr/share/nginx/html -type f -exec sed -i "s|${key}|${value}|g" '{}' + - - # sed JS and CSS only - find /usr/local/nginx/html -type f \( -name '*.js' -o -name '*.css' \) -exec sed -i "s|${key}|${value}|g" '{}' + -done diff --git a/chatqna-conversation-ui/1.0/24.03-lts/nginx.conf b/chatqna-conversation-ui/1.0/24.03-lts/nginx.conf deleted file mode 100644 index fa220eb7cadef16485e4db964f53d59cf5d1afae..0000000000000000000000000000000000000000 --- a/chatqna-conversation-ui/1.0/24.03-lts/nginx.conf +++ /dev/null @@ -1,20 +0,0 @@ -server { - listen 80; - - gzip on; - gzip_proxied any; - gzip_comp_level 6; - gzip_buffers 16 8k; - gzip_http_version 1.1; - gzip_types font/woff2 text/css application/javascript application/json application/font-woff application/font-tff image/gif image/png image/svg+xml application/octet-stream; - - location / { - root /usr/local/nginx/html; - index index.html index.htm; - try_files $uri $uri/ /index.html =404; - - location ~* \.(gif|jpe?g|png|webp|ico|svg|css|js|mp4|woff2)$ { - expires 1d; - } - } -} \ No newline at end of file diff --git a/chatqna-conversation-ui/meta.yml b/chatqna-conversation-ui/meta.yml deleted file mode 100644 index 09e4737bd21d2122d017cfdb384e92aa25fe6aa6..0000000000000000000000000000000000000000 --- a/chatqna-conversation-ui/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: chatqna-conversation-ui/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/chatqna-ui/1.0/24.03-lts/Dockerfile b/chatqna-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index fb3626ad1118804d2260ff243cdb9be733842b92..0000000000000000000000000000000000000000 --- a/chatqna-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - git \ - npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/ChatQnA/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/chatqna-ui/meta.yml b/chatqna-ui/meta.yml deleted file mode 100644 index 05addfa68f6a22dbf2c2a71b3f2adbe6de51e695..0000000000000000000000000000000000000000 --- a/chatqna-ui/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: chatqna-ui/1.0/24.03-lts/Dockerfile \ No newline at end of file diff --git a/chatqna/1.0/24.03-lts/Dockerfile b/chatqna/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 8f3a7b817596b1cde15f4dfb568554490054c99f..0000000000000000000000000000000000000000 --- a/chatqna/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ - - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/ChatQnA/chatqna.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=/usr/bin/python:/home/user/GenAIComps - -USER user - -RUN echo 'ulimit -S -n 999999' >> ~/.bashrc - -ENTRYPOINT ["python", "chatqna.py"] diff --git a/chatqna/meta.yml b/chatqna/meta.yml deleted file mode 100644 index 0e837dafc37467d07d6434304c20078f525a92fa..0000000000000000000000000000000000000000 --- a/chatqna/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: chatqna/1.0/24.03-lts/Dockerfile diff --git a/codegen-ui/1.0/24.03-lts/Dockerfile b/codegen-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 217ab6971ec6986ca98630a7ebebbe3026d88999..0000000000000000000000000000000000000000 --- a/codegen-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - git \ - npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/CodeGen/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/codegen-ui/meta.yml b/codegen-ui/meta.yml deleted file mode 100644 index 8352c985f7cede21060a699e515656363a1df3d1..0000000000000000000000000000000000000000 --- a/codegen-ui/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: codegen-ui/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/codegen/1.0/24.03-lts/Dockerfile b/codegen/1.0/24.03-lts/Dockerfile deleted file mode 100644 index fc5aac8b2dd15005719bee7f0c71c758abf098d7..0000000000000000000000000000000000000000 --- a/codegen/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ - - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ENV LANG=C.UTF-8 - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/CodeGen/codegen.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=/usr/bin/python:/home/user/GenAIComps - -USER user - -WORKDIR /home/user - -ENTRYPOINT ["python", "codegen.py"] diff --git a/codegen/meta.yml b/codegen/meta.yml deleted file mode 100644 index d9e0a7d414704a600b2619625936fe810e0e6547..0000000000000000000000000000000000000000 --- a/codegen/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: codegen/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/codetrans-ui/1.0/24.03-lts/Dockerfile b/codetrans-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index ca3cade6eb8111212b45bf5bc7b4677dfefca6df..0000000000000000000000000000000000000000 --- a/codetrans-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && yum install -y git npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/CodeTrans/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/codetrans-ui/meta.yml b/codetrans-ui/meta.yml deleted file mode 100644 index b744b4478b3c1833dd349a8fcdf401ea56581e7d..0000000000000000000000000000000000000000 --- a/codetrans-ui/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: codetrans-ui/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/codetrans/1.0/24.03-lts/Dockerfile b/codetrans/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 3f45677c42990614117ae049ac6d8c8a0fbe9b9a..0000000000000000000000000000000000000000 --- a/codetrans/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ - - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/CodeTrans/code_translation.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=/usr/bin/python:/home/user/GenAIComps - -USER user - -WORKDIR /home/user - -ENTRYPOINT ["python", "code_translation.py"] diff --git a/codetrans/meta.yml b/codetrans/meta.yml deleted file mode 100644 index 6985ae55df8fbce97f9e05157572ad4c281bbb47..0000000000000000000000000000000000000000 --- a/codetrans/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: codetrans/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/dataprep-redis-langchain/0.3.4-redis5.1.1/24.03-lts/Dockerfile b/dataprep-redis-langchain/0.3.4-redis5.1.1/24.03-lts/Dockerfile deleted file mode 100644 index 8e77baf27a0c27efd029320d15a5e28f49b3256e..0000000000000000000000000000000000000000 --- a/dataprep-redis-langchain/0.3.4-redis5.1.1/24.03-lts/Dockerfile +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ENV LANG=C.UTF-8 - -ARG ARCH="cpu" - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - wget \ - java-11-openjdk \ - mesa-libGL \ - shadow-utils \ - jemalloc jemalloc-devel \ - poppler-utils \ - python-pip python \ - tesseract \ - tesseract-langpack-eng \ - git - - -RUN mkdir -p /tmp/LibreOffice/LibreOffice && \ - wget -O /tmp/LibreOffice/LibreOffice.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.2/rpm/x86_64/LibreOffice_24.8.2_Linux_x86-64_rpm.tar.gz && \ - tar -zxvf /tmp/LibreOffice/LibreOffice.tar.gz -C /tmp/LibreOffice/LibreOffice/ --strip-components 1 && \ - yum -y install /tmp/LibreOffice/LibreOffice/RPMS/*.rpm && \ - mkdir -p /tmp/LibreOffice/langpack_zh-CN && \ - wget -O /tmp/LibreOffice/langpack_zh-CN.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.2/rpm/x86_64/LibreOffice_24.8.2_Linux_x86-64_rpm_langpack_zh-CN.tar.gz && \ - tar -zxvf /tmp/LibreOffice/langpack_zh-CN.tar.gz -C /tmp/LibreOffice/langpack_zh-CN/ --strip-components 1 && \ - yum -y install /tmp/LibreOffice/langpack_zh-CN/RPMS/*.rpm && \ - mkdir -p /tmp/LibreOffice/helppack_zh-CN && \ - wget -O /tmp/LibreOffice/helppack_zh-CN.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.2/rpm/x86_64/LibreOffice_24.8.2_Linux_x86-64_rpm_helppack_zh-CN.tar.gz && \ - tar -zxvf /tmp/LibreOffice/helppack_zh-CN.tar.gz -C /tmp/LibreOffice/helppack_zh-CN/ --strip-components 1 && \ - yum -y install /tmp/LibreOffice/helppack_zh-CN/RPMS/*.rpm && \ - rm -rf /tmp/LibreOffice - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip setuptools && \ - if [ ${ARCH} = "cpu" ]; then pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu; fi && \ - pip install --no-cache-dir -r /home/user/comps/dataprep/redis/langchain/requirements.txt - -ENV PYTHONPATH=/usr/bin/python:/home/user - -USER root - -RUN mkdir -p /home/user/comps/dataprep/redis/langchain/uploaded_files && chown -R user /home/user/comps/dataprep/redis/langchain/uploaded_files - -USER user - -WORKDIR /home/user/comps/dataprep/redis/langchain - -ENTRYPOINT ["python", "prepare_doc_redis.py"] \ No newline at end of file diff --git a/dataprep-redis-langchain/meta.yml b/dataprep-redis-langchain/meta.yml deleted file mode 100644 index 079bce74ffbb5719b4156a40aee6ddce68072326..0000000000000000000000000000000000000000 --- a/dataprep-redis-langchain/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -0.3.4-redis5.1.1-oe2403lts: - path: dataprep-redis-langchain/0.3.4-redis5.1.1/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/docsum-ui/1.0/24.03-lts/Dockerfile b/docsum-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 278871d58a1dfec493dda70cc33cbed0070a2a95..0000000000000000000000000000000000000000 --- a/docsum-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - git \ - npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/DocSum/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/docsum-ui/meta.yml b/docsum-ui/meta.yml deleted file mode 100644 index bd1d176b66860f152dc140d9fe6d20fcb9ff080a..0000000000000000000000000000000000000000 --- a/docsum-ui/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: docsum-ui/1.0/24.03-lts/Dockerfile diff --git a/docsum/1.0/24.03-lts/Dockerfile b/docsum/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 8be51f879af44a92f25cffce4e3dbd121254a772..0000000000000000000000000000000000000000 --- a/docsum/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ - - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -WORKDIR /home/user -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/DocSum/docsum.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=$PYTHONPATH:/home/user/GenAIComps - -USER user - -WORKDIR /home/user - -ENTRYPOINT ["python", "docsum.py"] diff --git a/docsum/meta.yml b/docsum/meta.yml deleted file mode 100644 index 51e1f507412fb604ddd580d3e3653009e5148a86..0000000000000000000000000000000000000000 --- a/docsum/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: docsum/1.0/24.03-lts/Dockerfile diff --git a/embedding-tei-langchain/0.3.3/24.03-lts/Dockerfile b/embedding-tei-langchain/0.3.3/24.03-lts/Dockerfile deleted file mode 100644 index 9e3e6fc5c89210e4f9ba552b6fc736adbffcc454..0000000000000000000000000000000000000000 --- a/embedding-tei-langchain/0.3.3/24.03-lts/Dockerfile +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 -FROM openeuler/openeuler:24.03-lts - -ARG ARCH="cpu" - -RUN yum update -y && \ - yum install -y \ - --setopt=install_weak_deps=False \ - python3-pip python3-devel \ - cmake gcc-c++ git \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN cd /tmp && git clone --depth 1 https://github.com/trimesh/vhacdx && cd vhacdx && \ - CFLAGS="-I /tmp/vhacdx" pip3 install . && \ - rm -rf /tmp/vhacdx - -RUN pip3 install scikit-build-core numpy && \ - cd /tmp && git clone --depth 1 https://github.com/elalish/manifold.git && \ - cd manifold && git clone --depth 1 --branch v2021.10.0 https://github.com/oneapi-src/oneTBB.git && \ - pip3 install --upgrade pip setuptools wheel build nanobind ninja && \ - pip install "nanobind>=1.8.0,<=2.2.0" && \ - python3 -m build --no-isolation --sdist --wheel && \ - pip3 install dist/manifold3d-*.whl - -WORKDIR /home/user/ - -RUN git clone --depth=1 --branch v1.0 https://github.com/opea-project/GenAIComps.git && \ - cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -RUN if [ ${ARCH} = "cpu" ]; then pip3 install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu; fi && \ -pip3 install --no-cache-dir -r /home/user/comps/embeddings/tei/langchain/requirements.txt - -ENV PYTHONPATH=/usr/bin/python3:/home/user - -WORKDIR /home/user/comps/embeddings/tei/langchain - -ENTRYPOINT ["python3", "embedding_tei.py"] diff --git a/embedding-tei-langchain/meta.yml b/embedding-tei-langchain/meta.yml deleted file mode 100644 index 1192bf09cd84c37ebb648b33d258821771ccc8c4..0000000000000000000000000000000000000000 --- a/embedding-tei-langchain/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -0.3.3-oe2403lts: - path: embedding-tei-langchain/0.3.3/24.03-lts/Dockerfile \ No newline at end of file diff --git a/faqgen-ui/1.0/24.03-lts/Dockerfile b/faqgen-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 84139439f9d90288fff51d73d2e050c3d92e6b16..0000000000000000000000000000000000000000 --- a/faqgen-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && yum install -y git npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/FaqGen/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/faqgen-ui/meta.yml b/faqgen-ui/meta.yml deleted file mode 100644 index a9ddecf59944bce718a14a6648b3027e65e7a9d7..0000000000000000000000000000000000000000 --- a/faqgen-ui/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: faqgen-ui/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/faqgen/1.0/24.03-lts/Dockerfile b/faqgen/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 411d8bfb4bbb6420c7138580a5100dfca14d828a..0000000000000000000000000000000000000000 --- a/faqgen/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ - - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - - -RUN yum update -y && yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -RUN cp GenAIExamples/FaqGen/faqgen.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=$PYTHONPATH:/home/user/GenAIComps - -USER user - -WORKDIR /home/user - -ENTRYPOINT ["python", "faqgen.py"] diff --git a/faqgen/meta.yml b/faqgen/meta.yml deleted file mode 100644 index 385daeb35730b087c9134ad72a815cd6718620e7..0000000000000000000000000000000000000000 --- a/faqgen/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: faqgen/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/llm-docsum-tgi-langchain/0.3.0/24.03-lts/Dockerfile b/llm-docsum-tgi-langchain/0.3.0/24.03-lts/Dockerfile deleted file mode 100644 index 5665f56b7adedc4da8c62c3a5a932a3c66d0945a..0000000000000000000000000000000000000000 --- a/llm-docsum-tgi-langchain/0.3.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ARG PLATFORM="cpu" - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip && \ - if [ ${PLATFORM} = "cpu" ]; then pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu; fi && \ - pip install --no-cache-dir -r /home/user/comps/llms/summarization/tgi/langchain/requirements.txt - -ENV PYTHONPATH=$PYTHONPATH:/home/user - -WORKDIR /home/user/comps/llms/summarization/tgi/langchain - -ENTRYPOINT ["bash", "entrypoint.sh"] diff --git a/llm-docsum-tgi-langchain/meta.yml b/llm-docsum-tgi-langchain/meta.yml deleted file mode 100644 index c0e12e357fc2017069833e758e683a54cc17558e..0000000000000000000000000000000000000000 --- a/llm-docsum-tgi-langchain/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -0.3.0-oe2403lts: - path: llm-docsum-tgi-langchain/0.3.0/24.03-lts/Dockerfile - arch: x86_64 diff --git a/llm-faqgen-tgi-langchain/0.3.0/24.03-lts/Dockerfile b/llm-faqgen-tgi-langchain/0.3.0/24.03-lts/Dockerfile deleted file mode 100644 index 279a1ef936bda0c3114852a17826570484e0f5bf..0000000000000000000000000000000000000000 --- a/llm-faqgen-tgi-langchain/0.3.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip setuptools && \ - pip install --no-cache-dir -r /home/user/comps/llms/faq-generation/tgi/langchain/requirements.txt - -ENV PYTHONPATH=$PYTHONPATH:/home/user - -WORKDIR /home/user/comps/llms/faq-generation/tgi/langchain - -ENTRYPOINT ["bash", "entrypoint.sh"] diff --git a/llm-faqgen-tgi-langchain/meta.yml b/llm-faqgen-tgi-langchain/meta.yml deleted file mode 100644 index 2ac0967cbda3cdf305de57e73a7eae0b94016eeb..0000000000000000000000000000000000000000 --- a/llm-faqgen-tgi-langchain/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -0.3.0-oe2403lts: - path: llm-faqgen-tgi-langchain/0.3.0/24.03-lts/Dockerfile - arch: x86_64 diff --git a/llm-tgi/1.0/24.03-lts/Dockerfile b/llm-tgi/1.0/24.03-lts/Dockerfile deleted file mode 100644 index b39bcc81e029f95b46c5cb301a6852fe180efd9b..0000000000000000000000000000000000000000 --- a/llm-tgi/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip setuptools && \ - pip install --no-cache-dir -r /home/user/comps/llms/text-generation/tgi/requirements.txt - -ENV PYTHONPATH=/usr/bin/python:/home/user - -WORKDIR /home/user/comps/llms/text-generation/tgi - -ENTRYPOINT ["bash", "entrypoint.sh"] diff --git a/llm-tgi/meta.yml b/llm-tgi/meta.yml deleted file mode 100644 index 5d5b47f7e5b26b58e36bb9443130e8e1641c99a2..0000000000000000000000000000000000000000 --- a/llm-tgi/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: llm-tgi/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/llm-vllm-langchain/0.3.3-npu/24.03-lts/Dockerfile b/llm-vllm-langchain/0.3.3-npu/24.03-lts/Dockerfile deleted file mode 100644 index 5b01ae74f4bcf4b4c3ff376df45c9a77326a316c..0000000000000000000000000000000000000000 --- a/llm-vllm-langchain/0.3.3-npu/24.03-lts/Dockerfile +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 -FROM openeuler/openeuler:22.03-lts - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python python3-devel \ - cmake gcc-c++ \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone --depth=1 --branch v1.0 https://github.com/opea-project/GenAIComps.git && \ - cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN cd /tmp && git clone --depth 1 https://github.com/trimesh/vhacdx && cd vhacdx && \ - CFLAGS="-I /tmp/vhacdx" pip install . && \ - rm -rf /tmp/vhacdx - -RUN python -m pip install scikit-build-core numpy && \ - cd /tmp && git clone --depth 1 https://github.com/elalish/manifold.git && \ - cd manifold && git clone --depth 1 --branch v2021.10.0 https://github.com/oneapi-src/oneTBB.git && \ - python -m pip install --upgrade pip setuptools wheel build nanobind ninja && \ - python -m build --no-isolation --sdist --wheel && \ - python -m pip install dist/manifold3d-*.whl && \ - rm -rf /tmp/manifold - -RUN python3 -m pip install --no-cache-dir --upgrade pip && \ - python3 -m pip install --no-cache-dir \ - fastapi \ - huggingface_hub \ - langchain \ - langchain-huggingface \ - langchain-openai \ - langchain_community \ - langchainhub \ - opentelemetry-api \ - opentelemetry-exporter-otlp \ - opentelemetry-sdk \ - prometheus-fastapi-instrumentator \ - shortuuid \ - transformers \ - uvicorn - -RUN pip3 install docarray[full] -RUN git clone -b npu_support --depth 1 https://github.com/wangshuai09/vllm.git -RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" python3 -m pip install -r ./vllm/requirements-build.txt -RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" VLLM_TARGET_DEVICE="npu" python3 -m pip install ./vllm/ && \ - rm -rf ./vllm - -ENV PYTHONPATH=/usr/bin/python:/home/user -WORKDIR /home/user/comps/llms/text-generation/vllm/langchain - -ENTRYPOINT ["bash", "entrypoint.sh"] diff --git a/llm-vllm-langchain/0.3.3/24.03-lts/Dockerfile b/llm-vllm-langchain/0.3.3/24.03-lts/Dockerfile deleted file mode 100644 index 4dd93f48c7f07213c487f09f0c65a8bc07613e6f..0000000000000000000000000000000000000000 --- a/llm-vllm-langchain/0.3.3/24.03-lts/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ARG ARCH="cpu" # Set this to "cpu" or "gpu" - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip && \ - if [ ${ARCH} = "cpu" ]; then \ - pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu -r /home/user/comps/llms/text-generation/vllm/langchain/requirements.txt; \ - else \ - pip install --no-cache-dir -r /home/user/comps/llms/text-generation/vllm/langchain/requirements.txt; \ - fi - -ENV PYTHONPATH=/usr/bin/python:/home/user - -WORKDIR /home/user/comps/llms/text-generation/vllm/langchain - -ENTRYPOINT ["bash", "entrypoint.sh"] diff --git a/llm-vllm-langchain/meta.yml b/llm-vllm-langchain/meta.yml deleted file mode 100644 index 003354fcc90d78325384af072d832a0fd2940038..0000000000000000000000000000000000000000 --- a/llm-vllm-langchain/meta.yml +++ /dev/null @@ -1,5 +0,0 @@ -0.3.3-oe2403lts: - path: llm-vllm-langchain/0.3.3/24.03-lts/Dockerfile - arch: x86_64 -0.3.3-npu-oe2203lts: - path: llm-vllm-langchain/0.3.3-npu/24.03-lts/Dockerfile \ No newline at end of file diff --git a/reranking-tei/1.0/24.03-lts/Dockerfile b/reranking-tei/1.0/24.03-lts/Dockerfile deleted file mode 100644 index ee09dd44c03636e222652341ac3239a7c1e137f9..0000000000000000000000000000000000000000 --- a/reranking-tei/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ARG ARCH="cpu" - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python python3-devel \ - cmake gcc-c++ git \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN cd /tmp && git clone --depth 1 https://github.com/trimesh/vhacdx && cd vhacdx && \ - CFLAGS="-I /tmp/vhacdx" pip install . && \ - rm -rf /tmp/vhacdx - -RUN python -m pip install scikit-build-core numpy && \ - cd /tmp && git clone --depth 1 https://github.com/elalish/manifold.git && \ - cd manifold && git clone --depth 1 --branch v2021.10.0 https://github.com/oneapi-src/oneTBB.git && \ - python -m pip install --upgrade pip setuptools wheel build nanobind ninja && \ - python -m build --no-isolation --sdist --wheel && \ - python -m pip install dist/manifold3d-*.whl && \ - rm -rf /tmp/manifold - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone --depth=1 --branch v1.0 https://github.com/opea-project/GenAIComps.git && \ - cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip && \ - if [ ${ARCH} = "cpu" ]; then pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu; fi && \ - pip install --no-cache-dir -r /home/user/comps/reranks/tei/requirements.txt - -ENV PYTHONPATH=/usr/bin/python:/home/user - -WORKDIR /home/user/comps/reranks/tei - -ENTRYPOINT ["python", "reranking_tei.py"] diff --git a/reranking-tei/meta.yml b/reranking-tei/meta.yml deleted file mode 100644 index 3423455ea6c4b53fcbd7cd3afbe15425e96cfc86..0000000000000000000000000000000000000000 --- a/reranking-tei/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: reranking-tei/1.0/24.03-lts/Dockerfile \ No newline at end of file diff --git a/retriever-redis-langchain/0.3.3-redis5.1.1/24.03-lts/Dockerfile b/retriever-redis-langchain/0.3.3-redis5.1.1/24.03-lts/Dockerfile deleted file mode 100644 index ca061bb629b6d9538442f7b96fa1d8aad6e96657..0000000000000000000000000000000000000000 --- a/retriever-redis-langchain/0.3.3-redis5.1.1/24.03-lts/Dockerfile +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ARG ARCH="cpu" - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip && \ - if [ ${ARCH} = "cpu" ]; then pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu; fi && \ - pip install --no-cache-dir -r /home/user/comps/retrievers/redis/langchain/requirements.txt - -ENV PYTHONPATH=/usr/bin/python:/home/user - -WORKDIR /home/user/comps/retrievers/redis/langchain - -ENTRYPOINT ["python", "retriever_redis.py"] diff --git a/retriever-redis-langchain/meta.yml b/retriever-redis-langchain/meta.yml deleted file mode 100644 index f07b1cb62ef111d2185d8b1ad8f9edc02028dbfb..0000000000000000000000000000000000000000 --- a/retriever-redis-langchain/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -0.3.3-redis5.1.1-oe2403lts: - path: retriever-redis-langchain/0.3.3-redis5.1.1/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/translation-ui/1.0/24.03-lts/Dockerfile b/translation-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index c41e508624431361c33f7f61bdacf15f4507c1a9..0000000000000000000000000000000000000000 --- a/translation-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && \ - yum install -y \ - --setopt=install_weak_deps=False \ - npm \ - git - -WORKDIR /home/user/ - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/Translation/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] diff --git a/translation-ui/meta.yml b/translation-ui/meta.yml deleted file mode 100644 index fded9031d45911c5b56393affeecec348d0957f4..0000000000000000000000000000000000000000 --- a/translation-ui/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: translation-ui/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/translation/1.0/24.03-lts/Dockerfile b/translation/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 493eb7bb96f27d8fb1b3e13c5202f55525d8edaf..0000000000000000000000000000000000000000 --- a/translation/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright (c) 2024 Intel Corporation -# -# 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 openeuler/openeuler:24.03-lts - -RUN yum update -y && \ - yum install -y \ - --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/Translation/translation.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=$PYTHONPATH:/home/user/GenAIComps - -ENTRYPOINT ["python", "translation.py"] diff --git a/translation/meta.yml b/translation/meta.yml deleted file mode 100644 index ec4a3517e7999d7eec2db21995b7d2774fc134d2..0000000000000000000000000000000000000000 --- a/translation/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: translation/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file