From 98879b38c149f253b6b520560e87dc4504b0ea3b Mon Sep 17 00:00:00 2001 From: Benson Wong Date: Sat, 6 Dec 2025 22:58:29 -0800 Subject: [PATCH] docker: add /app to $PATH (#424) Make it so llama-server can be called directly instead of with the full path at /app/llama-server. Fixes #423 Ref: #233 --- docker/llama-swap.Containerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/llama-swap.Containerfile b/docker/llama-swap.Containerfile index 4e03aa06..41a53594 100644 --- a/docker/llama-swap.Containerfile +++ b/docker/llama-swap.Containerfile @@ -29,6 +29,10 @@ RUN chown --recursive $UID:$GID $HOME /app USER $UID:$GID WORKDIR /app + +# Add /app to PATH +ENV PATH="/app:${PATH}" + RUN \ curl -LO "https://github.com/${LS_REPO}/releases/download/v${LS_VER}/llama-swap_${LS_VER}_linux_amd64.tar.gz" && \ tar -zxf "llama-swap_${LS_VER}_linux_amd64.tar.gz" && \