6 Commits
Author SHA1 Message Date
jcabillot 6d95902790 Merge pull request 'Update hadolint/hadolint-action action to v3.4.0' (#13) from renovate/hadolint-hadolint-action-3.x into main
Main Release / hadolint (push) Successful in 17s
Main Release / build (push) Successful in 41s
Main Release / tag (push) Successful in 17s
Tag Release / hadolint (push) Successful in 13s
Tag Release / build (push) Successful in 4m41s
Tag Release / build-push (push) Successful in 5m4s
Reviewed-on: #13
2026-08-02 15:39:25 -04:00
renovate f7a869357a Update hadolint/hadolint-action action to v3.4.0
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 29s
PR Checks / build (pull_request) Successful in 6m38s
2026-08-02 17:08:31 +00:00
jcabillot 9452efcc18 Merge pull request 'fix: use JSON notation for HEALTHCHECK CMD (DL3025)' (#15) from fix/hadolint-DL3025-healthcheck-json into main
Main Release / hadolint (push) Successful in 32s
Main Release / build (push) Successful in 7m32s
Main Release / tag (push) Successful in 22s
Tag Release / hadolint (push) Successful in 29s
Tag Release / build (push) Successful in 33s
Tag Release / build-push (push) Successful in 8m30s
Reviewed-on: #15
2026-08-02 13:04:39 -04:00
Julien Cabillot aa7b1f8eb3 fix: use JSON notation for HEALTHCHECK CMD (DL3025)
PR Checks / hadolint (pull_request) Successful in 31s
PR Checks / build (pull_request) Successful in 5m38s
2026-08-02 16:56:53 +00:00
jcabillot 027c4ccfe3 Merge pull request 'fix: ignore hadolint DL3066 for non-numeric USER hermes' (#14) from fix/hadolint-dl3066 into main
Main Release / hadolint (push) Successful in 13s
Main Release / build (push) Successful in 5m32s
Main Release / tag (push) Successful in 19s
Tag Release / hadolint (push) Successful in 14s
Tag Release / build (push) Successful in 4m36s
Tag Release / build-push (push) Successful in 8m2s
Reviewed-on: #14
2026-08-02 12:35:46 -04:00
opencodecabilloteu 875997a18e fix: ignore hadolint DL3066 for non-numeric USER hermes
PR Checks / hadolint (pull_request) Successful in 28s
PR Checks / build (pull_request) Successful in 7m47s
2026-08-02 16:26:23 +00:00
+2 -2
View File
@@ -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"]