Skip to content

"Cannot find package '@graphql-mesh/transport-rest'" when running gateway package container #235

Answered by enisdenjo
blakel6819 asked this question in Q&A
Discussion options

You must be logged in to vote

Not all transports are included in the docker image. You have to install it yourself. Please check the "Extend Docker Image" documentation on the how-to.

Your Dockerfile should roughly be:

FROM ghcr.io/graphql-hive/gateway
 
RUN npm i @graphql-mesh/transport-rest

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@blakel6819
Comment options

@ardatan
Comment options

Answer selected by enisdenjo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #229 on December 02, 2024 10:05.