-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (22 loc) · 757 Bytes
/
Dockerfile
File metadata and controls
26 lines (22 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# LLM Optimizer MCP Server - Docker proxy image
#
# This image runs mcp-remote to proxy stdio MCP connections to the
# hosted LLM Optimizer MCP endpoint at https://llmopt.metavert.io/mcp
#
# Usage (with API key):
# docker run -i --rm -e API_KEY=lok_xxx ghcr.io/jonradoff/llmopt
#
# Usage (OAuth flow):
# docker run -i --rm ghcr.io/jonradoff/llmopt
#
# MCP client config (Claude Desktop, etc.):
# {
# "command": "docker",
# "args": ["run", "-i", "--rm", "-e", "API_KEY=lok_xxx", "ghcr.io/jonradoff/llmopt"]
# }
FROM node:22-alpine
RUN npm install -g mcp-remote
ENV API_KEY=""
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]