hugh007 commited on
Commit
90ffd7e
·
verified ·
1 Parent(s): 30621fe

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -1,11 +1,17 @@
1
  FROM nousresearch/hermes-agent:main
 
2
  USER root
 
3
  RUN apt-get update && apt-get install -y --no-install-recommends nodejs curl && rm -rf /var/lib/apt/lists/*
 
4
  COPY server.js /app/server.js
5
  COPY config.yaml /opt/data/config.yaml
6
- COPY models_dev_stub.py /opt/hermes/agent/models_dev_stub.py
 
7
  RUN chmod 644 /opt/data/config.yaml
 
8
  EXPOSE 7860
 
9
  HEALTHCHECK --interval=30s --timeout=5s --start-period=60s CMD curl -fsS http://localhost:7860/health || exit 1
10
- RUN cp -f /opt/hermes/agent/models_dev_stub.py /opt/hermes/agent/models_dev.py
11
  CMD node /app/server.js & (hermes dashboard --host 0.0.0.0 --port 7860 --insecure 2>&1 &) && exec hermes gateway run
 
1
  FROM nousresearch/hermes-agent:main
2
+
3
  USER root
4
+
5
  RUN apt-get update && apt-get install -y --no-install-recommends nodejs curl && rm -rf /var/lib/apt/lists/*
6
+
7
  COPY server.js /app/server.js
8
  COPY config.yaml /opt/data/config.yaml
9
+ COPY models_dev_cache.json /opt/data/models_dev_cache.json
10
+
11
  RUN chmod 644 /opt/data/config.yaml
12
+
13
  EXPOSE 7860
14
+
15
  HEALTHCHECK --interval=30s --timeout=5s --start-period=60s CMD curl -fsS http://localhost:7860/health || exit 1
16
+
17
  CMD node /app/server.js & (hermes dashboard --host 0.0.0.0 --port 7860 --insecure 2>&1 &) && exec hermes gateway run