File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ services:
24
24
image : ${REGISTRY:-opea}/llm-tgi:${TAG:-latest}
25
25
nginx :
26
26
build :
27
- context : GenAIComps/comps/nginx/docker
28
- dockerfile : . /Dockerfile
27
+ context : GenAIComps
28
+ dockerfile : comps/nginx/docker /Dockerfile
29
29
extends : codetrans
30
30
image : ${REGISTRY:-opea}/nginx:${TAG:-latest}
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ docker build -t opea/codetrans-ui:latest --build-arg https_proxy=$https_proxy --
37
37
### 5. Build Nginx Docker Image
38
38
39
39
``` 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 .
42
42
```
43
43
44
44
Then run the command ` docker images ` , you will have the following Docker Images:
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ docker build -t opea/codetrans-ui:latest --build-arg https_proxy=$https_proxy --
45
45
### 5. Build Nginx Docker Image
46
46
47
47
``` 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 .
50
50
```
51
51
52
52
Then run the command ` docker images ` , you will have the following Docker Images:
You can’t perform that action at this time.
0 commit comments