From 8471ffc182626689c96c87b2257bf23b09a9d848 Mon Sep 17 00:00:00 2001 From: latinogino <154024559+latinogino@users.noreply.github.com> Date: Mon, 22 Sep 2025 20:29:42 +0200 Subject: [PATCH] Update: Fix Dockerfile healthcheck and update version to 1.0.1 --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 437a24c..32bdf66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,20 +57,20 @@ RUN chown -R dolibarr:dolibarr /app # Switch to non-root user USER dolibarr -# Health check +# Health check using test command HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ - CMD dolibarr-mcp test || exit 1 + CMD python -m dolibarr_mcp.cli test || exit 1 # Expose port (for future HTTP interface) EXPOSE 8080 -# Default command -CMD ["dolibarr-mcp", "serve"] +# Default command runs the MCP server +CMD ["python", "-m", "dolibarr_mcp"] # Labels for metadata LABEL org.opencontainers.image.title="Dolibarr MCP Server" \ org.opencontainers.image.description="Professional Model Context Protocol server for Dolibarr ERP integration" \ org.opencontainers.image.url="https://github.com/latinogino/dolibarr-mcp" \ org.opencontainers.image.source="https://github.com/latinogino/dolibarr-mcp" \ - org.opencontainers.image.version="1.0.0" \ + org.opencontainers.image.version="1.0.1" \ org.opencontainers.image.licenses="MIT"