Skip to content

Commit 22d066a

Browse files
authored
fix comps/nginx image build content (#714)
Signed-off-by: chensuyue <suyue.chen@intel.com>
1 parent c6d811a commit 22d066a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CodeTrans/docker/docker_build_compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
image: ${REGISTRY:-opea}/llm-tgi:${TAG:-latest}
2525
nginx:
2626
build:
27-
context: GenAIComps/comps/nginx/docker
28-
dockerfile: ./Dockerfile
27+
context: GenAIComps
28+
dockerfile: comps/nginx/docker/Dockerfile
2929
extends: codetrans
3030
image: ${REGISTRY:-opea}/nginx:${TAG:-latest}

CodeTrans/docker/gaudi/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ docker build -t opea/codetrans-ui:latest --build-arg https_proxy=$https_proxy --
3737
### 5. Build Nginx Docker Image
3838

3939
```bash
40-
cd GenAIComps/comps/nginx/docker
41-
docker build -t opea/nginx:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f ./Dockerfile .
40+
cd GenAIComps
41+
docker build -t opea/nginx:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/nginx/docker/Dockerfile .
4242
```
4343

4444
Then run the command `docker images`, you will have the following Docker Images:

CodeTrans/docker/xeon/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ docker build -t opea/codetrans-ui:latest --build-arg https_proxy=$https_proxy --
4545
### 5. Build Nginx Docker Image
4646

4747
```bash
48-
cd GenAIComps/comps/nginx/docker
49-
docker build -t opea/nginx:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f ./Dockerfile .
48+
cd GenAIComps
49+
docker build -t opea/nginx:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/nginx/docker/Dockerfile .
5050
```
5151

5252
Then run the command `docker images`, you will have the following Docker Images:

0 commit comments

Comments
 (0)