Skip to content

Commit

Permalink
add nested type checking to graphql custom logic (dgraph-io#5299)
Browse files Browse the repository at this point in the history
  • Loading branch information
poonai authored and dna2github committed Jul 18, 2020
1 parent fc5cef9 commit e7b0ab2
Show file tree
Hide file tree
Showing 11 changed files with 1,062 additions and 1,230 deletions.
1 change: 1 addition & 0 deletions graphql/e2e/custom_logic/cmd/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
cmd
node_modules
17 changes: 13 additions & 4 deletions graphql/e2e/custom_logic/cmd/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
FROM golang:1.12.7-alpine3.10

COPY main.go cmd/main.go
FROM golang:1.14.2-alpine3.11

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o main cmd/main.go
COPY . .

CMD ./main
RUN apk update && apk add git && apk add nodejs && apk add npm

RUN go get gopkg.in/yaml.v2

RUN npm install

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o main main.go

WORKDIR .

CMD ./main
Loading

0 comments on commit e7b0ab2

Please sign in to comment.