mirror of
https://github.com/domfelipe/hermes-agent-custom.git
synced 2026-08-07 13:16:40 +00:00
Fix entrypoint to call original image entrypoint
This commit is contained in:
parent
e48db1ca4c
commit
50b98b2f42
2 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
FROM nousresearch/hermes-agent:latest
|
FROM nousresearch/hermes-agent:latest
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
RUN mkdir -p /opt/data/.hermes
|
RUN mkdir -p /opt/data/.hermes
|
||||||
|
|
||||||
RUN printf 'model:\n provider: ollama-cloud\n default: gemma4:31b-cloud\n' > /opt/data/.hermes/config.yaml
|
RUN printf 'model:\n provider: ollama-cloud\n default: gemma4:31b-cloud\n' > /opt/data/.hermes/config.yaml
|
||||||
|
|
@ -10,4 +12,3 @@ COPY entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
CMD ["hermes", "gateway"]
|
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,4 @@ if [ -n "$HERMES_SOUL_OVERRIDE" ]; then
|
||||||
echo "$HERMES_SOUL_OVERRIDE" > /opt/data/.hermes/SOUL.md
|
echo "$HERMES_SOUL_OVERRIDE" > /opt/data/.hermes/SOUL.md
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec /bin/sh -c "$*"
|
exec /opt/hermes/docker/entrypoint.sh "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue