Skip to content

Commit

Permalink
fix comps/nginx image build content (#714)
Browse files Browse the repository at this point in the history
Signed-off-by: chensuyue <[email protected]>
  • Loading branch information
chensuyue authored Sep 3, 2024
1 parent c6d811a commit 22d066a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CodeTrans/docker/docker_build_compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
image: ${REGISTRY:-opea}/llm-tgi:${TAG:-latest}
nginx:
build:
context: GenAIComps/comps/nginx/docker
dockerfile: ./Dockerfile
context: GenAIComps
dockerfile: comps/nginx/docker/Dockerfile
extends: codetrans
image: ${REGISTRY:-opea}/nginx:${TAG:-latest}
4 changes: 2 additions & 2 deletions CodeTrans/docker/gaudi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ docker build -t opea/codetrans-ui:latest --build-arg https_proxy=$https_proxy --
### 5. Build Nginx Docker Image

```bash
cd GenAIComps/comps/nginx/docker
docker build -t opea/nginx:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f ./Dockerfile .
cd GenAIComps
docker build -t opea/nginx:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/nginx/docker/Dockerfile .
```

Then run the command `docker images`, you will have the following Docker Images:
Expand Down
4 changes: 2 additions & 2 deletions CodeTrans/docker/xeon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ docker build -t opea/codetrans-ui:latest --build-arg https_proxy=$https_proxy --
### 5. Build Nginx Docker Image

```bash
cd GenAIComps/comps/nginx/docker
docker build -t opea/nginx:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f ./Dockerfile .
cd GenAIComps
docker build -t opea/nginx:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/nginx/docker/Dockerfile .
```

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

0 comments on commit 22d066a

Please sign in to comment.