fix comps/nginx image build content (#714)
Signed-off-by: chensuyue <suyue.chen@intel.com>
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user