File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Build text-to-image service image on Xeon with below command:
13
13
``` bash
14
14
git clone https://github.com/opea-project/GenAIComps.git
15
15
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 .
17
17
```
18
18
19
19
### 2. Run Docker with CLI
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Build text-to-image service image on Gaudi with below command:
13
13
``` bash
14
14
git clone https://github.com/opea-project/GenAIComps.git
15
15
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 .
17
17
```
18
18
19
19
### 2. Run Docker with CLI
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ services:
9
9
https_proxy : ${https_proxy}
10
10
no_proxy : ${no_proxy}
11
11
context : GenAIComps
12
- dockerfile : comps/text2image/Dockerfile
12
+ dockerfile : comps/text2image/src/ Dockerfile
13
13
image : ${REGISTRY:-opea}/text2image:${TAG:-latest}
14
14
text2image-ui :
15
15
build :
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ MODEL=stabilityai/stable-diffusion-2-1
18
18
function build_docker_images() {
19
19
cd $WORKPATH /docker_image_build
20
20
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 ../
22
22
fi
23
23
docker compose -f build.yaml build --no-cache > ${LOG_PATH} /docker_image_build.log
24
24
}
You can’t perform that action at this time.
0 commit comments