From d5976350ebc45d8eac5458b2e1a66861a9e05d8e Mon Sep 17 00:00:00 2001 From: bumpsoo Date: Tue, 22 Apr 2025 08:38:23 +0000 Subject: [PATCH] (feat): add Host option --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 99da8bb..836f329 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,16 @@ RUN_OPTION=\ -v ${HOME}/.ssh:/home/$(shell id -un)/.ssh \ -v ${PWD}:/workspace +ifdef HOST + RUN_OPTION += \ + network host +endif + ENV_VARS := GROQ_API_KEY OLLAMA_API_BASE OLLAMA_API_KEY define CHECK_AND_APPEND ifneq ($($(1)),) - RUN_OPTION += -e $(1)=$($(1)) + RUN_OPTION += -e $(1)=$($(1)) endif endef