Skip to content

Commit fbfa901

Browse files
committed
Updated documentation
1 parent 07d04df commit fbfa901

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,26 @@ There's more information on the API [here](doc/API.md).
6969

7070
## Building
7171

72-
The build dependencies are:
72+
If you are building a docker image, you just need Docker installed:
73+
74+
* `DOCKER_REGISTRY=docker.io/user make docker` - builds a docker container with the
75+
server binary, tagged to a specific registry
76+
77+
If you want to build the server yourself for your specific combination of hardware,
78+
you can use the `Makefile` in the root directory and have the following dependencies
79+
met:
7380

7481
* Go 1.22
7582
* C++ compiler
7683
* FFmpeg 6.1 libraries (see [here](doc/build.md) for more information)
7784
* For CUDA, you'll need the CUDA toolkit including the `nvcc` compiler
7885

79-
If you want to build the server yourself for your specific combination of hardware,
80-
you can use the `Makefile` in the root directory. You'll need go 1.22, `make` and
81-
a C++ compiler to build this project. The following `Makefile` targets can be used:
86+
The following `Makefile` targets can be used:
8287

8388
* `make server` - creates the server binary, and places it in the `build` directory. Should
8489
link to Metal on macOS
8590
* `GGML_CUDA=1 make server` - creates the server binary linked to CUDA, and places it
8691
in the `build` directory. Should work for amd64 and arm64 (Jetson) platforms
87-
* `DOCKER_REGISTRY=docker.io/user make docker` - builds a docker container with the
88-
server binary, tagged to a specific registry
8992

9093
See all the other targets in the `Makefile` for more information.
9194

0 commit comments

Comments
 (0)