added build.sh, refactored docker-compose

This commit is contained in:
Luca Sacchi Ricciardi
2026-03-28 07:51:10 +00:00
parent ec3f62764b
commit d9173b256d
2 changed files with 3 additions and 1 deletions

2
build.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
docker build . -t llamacpp

View File

@@ -1,6 +1,6 @@
services:
llamacpp-server:
build: .
image: llamacpp:latest
container_name: llamacpp_${SERVER_PORT}
ports:
- "${SERVER_PORT}:${SERVER_PORT}"