fix: add rm and host option
This commit is contained in:
parent
d5976350eb
commit
4270600681
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -1,11 +1,12 @@
|
|||
RUN_OPTION=\
|
||||
-it \
|
||||
--rm \
|
||||
-v ${HOME}/.ssh:/home/$(shell id -un)/.ssh \
|
||||
-v ${PWD}:/workspace
|
||||
|
||||
ifdef HOST
|
||||
RUN_OPTION += \
|
||||
network host
|
||||
--network host
|
||||
endif
|
||||
|
||||
ENV_VARS := GROQ_API_KEY OLLAMA_API_BASE OLLAMA_API_KEY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue