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=\
|
RUN_OPTION=\
|
||||||
-it \
|
-it \
|
||||||
|
--rm \
|
||||||
-v ${HOME}/.ssh:/home/$(shell id -un)/.ssh \
|
-v ${HOME}/.ssh:/home/$(shell id -un)/.ssh \
|
||||||
-v ${PWD}:/workspace
|
-v ${PWD}:/workspace
|
||||||
|
|
||||||
ifdef HOST
|
ifdef HOST
|
||||||
RUN_OPTION += \
|
RUN_OPTION += \
|
||||||
network host
|
--network host
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ENV_VARS := GROQ_API_KEY OLLAMA_API_BASE OLLAMA_API_KEY
|
ENV_VARS := GROQ_API_KEY OLLAMA_API_BASE OLLAMA_API_KEY
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue