diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..ed35340 --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +#!/bin/bash +docker build . -t llamacpp diff --git a/docker-compose.yml b/docker-compose.yml index b454772..77c10f2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: llamacpp-server: - build: . + image: llamacpp:latest container_name: llamacpp_${SERVER_PORT} ports: - "${SERVER_PORT}:${SERVER_PORT}"