This commit is contained in:
1 parent
7120927224
commit
30ba55de56
3 files changed
+101
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
ARG BASE_IMAGE=ollama/ollama:latest
|
||||
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
ARG MODEL=orcarouter/Qwen3.8-27B-Uncensored:q3_K_L
|
||||
|
||||
RUN set -eu; \
|
||||
ollama serve >/tmp/ollama.log 2>&1 & \
|
||||
server_pid=$!; \
|
||||
trap 'kill "$server_pid"; wait "$server_pid" || true' 0; \
|
||||
until ollama list >/dev/null 2>&1; do sleep 1; done; \
|
||||
ollama pull "${MODEL}"; \
|
||||
rm -f /tmp/ollama.log
|
||||
Reference in new issue
Block a user