mirror of
https://github.com/OpenStaticFish/MicroServices.git
synced 2026-10-13 06:35:12 +00:00
Add lightpanda-cdp and lightpanda-mcp services for local (Tilt) and production (deploy/prod/) with Traefik routing, HPAs, and CI image publishing. Create scripts for concurrent Bing search via MCP and CDP screenshots. Update flake.nix with websocat dependency. Make webshare-secret helper tolerant of missing Doppler credentials.
22 lines
766 B
Docker
22 lines
766 B
Docker
# --- Lightpanda MCP Service Dockerfile ---
|
|
# Exposes Lightpanda's stdio MCP server over Streamable HTTP for remote agents.
|
|
|
|
FROM lightpanda/browser:nightly AS lightpanda
|
|
|
|
FROM oven/bun:1.3.0-debian
|
|
|
|
RUN apt-get update -yq && \
|
|
apt-get install -yq --no-install-recommends ca-certificates tini && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN bun add --global [email protected]
|
|
|
|
COPY --from=lightpanda /bin/lightpanda /usr/local/bin/lightpanda
|
|
|
|
ENV LIGHTPANDA_DISABLE_TELEMETRY=true
|
|
|
|
EXPOSE 8000
|
|
|
|
ENTRYPOINT ["/usr/bin/tini", "--"]
|
|
CMD ["supergateway", "--stdio", "lightpanda mcp", "--outputTransport", "streamableHttp", "--stateful", "--sessionTimeout", "180000", "--streamableHttpPath", "/mcp", "--healthEndpoint", "/healthz", "--port", "8000", "--logLevel", "info"]
|