Update dockerfile path for text2image (#1307)

Signed-off-by: Ye, Xinyu <xinyu.ye@intel.com>
This commit is contained in:
XinyuYe-Intel
2025-01-09 12:03:27 +08:00
committed by GitHub
parent 113281d073
commit 9fe480b010
4 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ Build text-to-image service image on Xeon with below command:
```bash
git clone https://github.com/opea-project/GenAIComps.git
cd GenAIComps
docker build -t opea/text2image:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/text2image/Dockerfile .
docker build -t opea/text2image:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/text2image/src/Dockerfile .
```
### 2. Run Docker with CLI

View File

@@ -13,7 +13,7 @@ Build text-to-image service image on Gaudi with below command:
```bash
git clone https://github.com/opea-project/GenAIComps.git
cd GenAIComps
docker build -t opea/text2image-gaudi:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/text2image/Dockerfile.intel_hpu .
docker build -t opea/text2image-gaudi:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/text2image/src/Dockerfile.intel_hpu .
```
### 2. Run Docker with CLI

View File

@@ -9,7 +9,7 @@ services:
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
context: GenAIComps
dockerfile: comps/text2image/Dockerfile
dockerfile: comps/text2image/src/Dockerfile
image: ${REGISTRY:-opea}/text2image:${TAG:-latest}
text2image-ui:
build:

View File

@@ -18,7 +18,7 @@ MODEL=stabilityai/stable-diffusion-2-1
function build_docker_images() {
cd $WORKPATH/docker_image_build
if [ ! -d "GenAIComps" ] ; then
git clone https://github.com/opea-project/GenAIComps.git
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"main"}" && cd ../
fi
docker compose -f build.yaml build --no-cache > ${LOG_PATH}/docker_image_build.log
}