Files
GenAIExamples/DBQnA/docker_image_build/build.yaml

24 lines
660 B
YAML

# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
services:
text2sql:
build:
context: GenAIComps
dockerfile: comps/text2sql/src/Dockerfile
args:
IMAGE_REPO: ${REGISTRY:-opea}
BASE_TAG: ${TAG:-latest}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
image: ${REGISTRY:-opea}/text2sql:${TAG:-latest}
text2sql-react-ui:
build:
context: ../ui
dockerfile: ./docker/Dockerfile.react
args:
texttosql_url: ${build_texttosql_url}
extends: text2sql
image: ${REGISTRY:-opea}/text2sql-react-ui:${TAG:-latest}