Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d95902790 | ||
|
|
f7a869357a | ||
|
|
9452efcc18 | ||
|
|
aa7b1f8eb3 | ||
|
|
027c4ccfe3 | ||
|
|
875997a18e |
+2
-2
@@ -82,13 +82,13 @@ ENV HERMES_WEBUI_AGENT_DIR=/opt/hermes-agent \
|
|||||||
RUN useradd --create-home --shell /bin/bash hermes \
|
RUN useradd --create-home --shell /bin/bash hermes \
|
||||||
&& mkdir -p /workspace \
|
&& mkdir -p /workspace \
|
||||||
&& chown -R hermes:hermes /app /opt/venv /opt/hermes-agent /workspace /home/hermes
|
&& chown -R hermes:hermes /app /opt/venv /opt/hermes-agent /workspace /home/hermes
|
||||||
|
# hadolint ignore=DL3066
|
||||||
USER hermes
|
USER hermes
|
||||||
|
|
||||||
EXPOSE 8787
|
EXPOSE 8787
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
|
||||||
CMD curl -f http://localhost:8787/health || exit 1
|
CMD ["curl", "-f", "http://localhost:8787/health"]
|
||||||
|
|
||||||
# Run the WebUI server (which runs Hermes Agent in-process)
|
# Run the WebUI server (which runs Hermes Agent in-process)
|
||||||
CMD ["python", "/app/server.py"]
|
CMD ["python", "/app/server.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user