This repository was archived by the owner on Oct 25, 2024. It is now read-only.
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ docker build -f docker/Dockerfile_chatbot --target cpu --network=host -t chatbot
17
17
```
18
18
If you need to use proxy, please use the following command
19
19
``` bash
20
- docker build --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${http_proxy} --target cpu -f docker/Dockerfile_chatbot -t chatbot:latest .
20
+ docker build --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${http_proxy} --build-arg ITREX_VER=main -- target cpu -f docker/Dockerfile_chatbot -t chatbot:latest .
21
21
```
22
22
23
23
### Build Docker Image on HPU
24
24
``` bash
25
25
cd itrex
26
- docker build -f docker/Dockerfile_chatbot --target hpu -t chatbot:latest .
26
+ docker build -f docker/Dockerfile_chatbot --build-arg ITREX_VER=main -- target hpu -t chatbot:latest .
27
27
```
28
28
29
29
### Pull From Docker Hub
@@ -35,7 +35,7 @@ docker pull intel/ai-tools:itrex-chatbot
35
35
## Use Docker Image
36
36
Utilize the docker container based on docker image.
37
37
``` bash
38
- docker run -itd --net=host --ipc=host chatbot:latest /bin/bash
38
+ docker run -itd --net=host --ipc=host intel/ai-tools:itrex-chatbot /bin/bash
39
39
docker exec -it < container_id> /bin/bash
40
40
```
41
41
You can’t perform that action at this time.
0 commit comments