Skip to content

Commit 9fe480b

Browse files
Update dockerfile path for text2image (#1307)
Signed-off-by: Ye, Xinyu <xinyu.ye@intel.com>
1 parent 113281d commit 9fe480b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Text2Image/docker_compose/intel/cpu/xeon/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Build text-to-image service image on Xeon with below command:
1313
```bash
1414
git clone https://github.com/opea-project/GenAIComps.git
1515
cd GenAIComps
16-
docker build -t opea/text2image:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/text2image/Dockerfile .
16+
docker build -t opea/text2image:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/text2image/src/Dockerfile .
1717
```
1818

1919
### 2. Run Docker with CLI

Text2Image/docker_compose/intel/hpu/gaudi/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Build text-to-image service image on Gaudi with below command:
1313
```bash
1414
git clone https://github.com/opea-project/GenAIComps.git
1515
cd GenAIComps
16-
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 .
16+
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 .
1717
```
1818

1919
### 2. Run Docker with CLI

Text2Image/docker_image_build/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
https_proxy: ${https_proxy}
1010
no_proxy: ${no_proxy}
1111
context: GenAIComps
12-
dockerfile: comps/text2image/Dockerfile
12+
dockerfile: comps/text2image/src/Dockerfile
1313
image: ${REGISTRY:-opea}/text2image:${TAG:-latest}
1414
text2image-ui:
1515
build:

Text2Image/tests/test_compose_on_xeon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ MODEL=stabilityai/stable-diffusion-2-1
1818
function build_docker_images() {
1919
cd $WORKPATH/docker_image_build
2020
if [ ! -d "GenAIComps" ] ; then
21-
git clone https://github.com/opea-project/GenAIComps.git
21+
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"main"}" && cd ../
2222
fi
2323
docker compose -f build.yaml build --no-cache > ${LOG_PATH}/docker_image_build.log
2424
}

0 commit comments

Comments
 (0)