Skip to content

Official Docker image #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jeanlucmongrain opened this issue Apr 7, 2025 · 6 comments
Closed

Official Docker image #11

jeanlucmongrain opened this issue Apr 7, 2025 · 6 comments

Comments

@jeanlucmongrain
Copy link

You have the Dockerfile you should build and push to hub.docker.com the official image!

@jeanlucmongrain
Copy link
Author

the dockerfile do not work anyway

@jeanlucmongrain
Copy link
Author

FROM node:22.14.0-alpine3.21
RUN npm install -g [email protected]
ENTRYPOINT [ "nodejs", "/usr/local/bin/mcp-graphql" ]

worked for me

@blurrah
Copy link
Owner

blurrah commented Apr 9, 2025

Yeah good call, haven't worked with the Dockerfile myself yet, was added for Smithery. Will check it asap and fix and push to docker hub/ghcr :)

@jeanlucmongrain
Copy link
Author

jeanlucmongrain commented Apr 17, 2025

Dockerfile:

# syntax=docker/dockerfile:1

FROM node:22.14.0-alpine3.21
ARG VERSION

RUN npm install -g mcp-graphql@${VERSION}

ENTRYPOINT [ "nodejs", "/usr/local/bin/mcp-graphql" ]

and to build it:

export VERSION=1.0.0
docker build --rm \
        --build-arg VERSION=${VERSION} \
        --tag blurrah/mcp-graphql:${VERSION}

@pl4nty
Copy link

pl4nty commented Apr 17, 2025

It's working for me too https://github.com/pl4nty/containers/blob/main/mcp-graphql%2FDockerfile

ghcr.io/pl4nty/mcp-graphql

@blurrah
Copy link
Owner

blurrah commented Apr 22, 2025

Official Dockerfile is now available at ghcr.io/blurrah/mcp-graphql. Thanks for your patience!

@blurrah blurrah closed this as completed Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants