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