Closed Robvio closed 4 years ago
File to allow people to build a docker continer that isn't tied to the main line release - so we can run custom code while we wait for PRs (or to allow a bit of forking if the PR gets rejected).
docker build -f Dockerfile.local . -t graphql-faker
Then in your docker-compose, you can just swap the image for the real one:
service-mock: image: graphql-faker:latest command: myschema.graphql ports: - "9002:9002" volumes: - ../myschema.graphql:/workdir/myschema.graphql
File to allow people to build a docker continer that isn't tied to the main line release - so we can run custom code while we wait for PRs (or to allow a bit of forking if the PR gets rejected).
Then in your docker-compose, you can just swap the image for the real one: