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}
|
image: ${REGISTRY:-opea}/llm-tgi:${TAG:-latest}
|
||||||
nginx:
|
nginx:
|
||||||
build:
|
build:
|
||||||
context: GenAIComps/comps/nginx/docker
|
context: GenAIComps
|
||||||
dockerfile: ./Dockerfile
|
dockerfile: comps/nginx/docker/Dockerfile
|
||||||
extends: codetrans
|
extends: codetrans
|
||||||
image: ${REGISTRY:-opea}/nginx:${TAG:-latest}
|
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
|
### 5. Build Nginx Docker Image
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd GenAIComps/comps/nginx/docker
|
cd GenAIComps
|
||||||
docker build -t opea/nginx:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f ./Dockerfile .
|
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:
|
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
|
### 5. Build Nginx Docker Image
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd GenAIComps/comps/nginx/docker
|
cd GenAIComps
|
||||||
docker build -t opea/nginx:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f ./Dockerfile .
|
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:
|
Then run the command `docker images`, you will have the following Docker Images:
|
||||||
|
|||||||
Reference in New Issue
Block a user