Update Dockerfile
This commit is contained in:
@@ -33,10 +33,6 @@ COPY data/nodes.db ./data/
|
|||||||
COPY src/database/schema-optimized.sql ./src/database/
|
COPY src/database/schema-optimized.sql ./src/database/
|
||||||
COPY .env.example ./
|
COPY .env.example ./
|
||||||
|
|
||||||
# Entrypoint script for any setup (optional, if needed)
|
|
||||||
COPY docker/docker-entrypoint.sh /usr/local/bin/
|
|
||||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
|
||||||
|
|
||||||
# Container labels
|
# Container labels
|
||||||
LABEL org.opencontainers.image.source="https://github.com/czlonkowski/n8n-mcp"
|
LABEL org.opencontainers.image.source="https://github.com/czlonkowski/n8n-mcp"
|
||||||
LABEL org.opencontainers.image.description="n8n MCP Server - Runtime Only"
|
LABEL org.opencontainers.image.description="n8n MCP Server - Runtime Only"
|
||||||
@@ -58,7 +54,5 @@ EXPOSE 3000
|
|||||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||||
CMD curl -f http://127.0.0.1:${PORT:-3000}/health || exit 1
|
CMD curl -f http://127.0.0.1:${PORT:-3000}/health || exit 1
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
|
|
||||||
|
|
||||||
# Main CMD: always run HTTP mode (so Claude etc can reach it, and Railway works)
|
# Main CMD: always run HTTP mode (so Claude etc can reach it, and Railway works)
|
||||||
CMD ["node", "dist/mcp/index.js", "--http"]
|
CMD ["node", "dist/mcp/index.js", "--http"]
|
||||||
|
|||||||
Reference in New Issue
Block a user