openwolf-hermes / Dockerfile
hugh007's picture
Upload Dockerfile with huggingface_hub
90ffd7e verified
Raw
History Blame Contribute Delete
583 Bytes
FROM nousresearch/hermes-agent:main
USER root
RUN apt-get update && apt-get install -y --no-install-recommends nodejs curl && rm -rf /var/lib/apt/lists/*
COPY server.js /app/server.js
COPY config.yaml /opt/data/config.yaml
COPY models_dev_cache.json /opt/data/models_dev_cache.json
RUN chmod 644 /opt/data/config.yaml
EXPOSE 7860
HEALTHCHECK --interval=30s --timeout=5s --start-period=60s CMD curl -fsS http://localhost:7860/health || exit 1
CMD node /app/server.js & (hermes dashboard --host 0.0.0.0 --port 7860 --insecure 2>&1 &) && exec hermes gateway run