forked from dgraph-io/dgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add nested type checking to graphql custom logic (dgraph-io#5299)
- Loading branch information
1 parent
fc5cef9
commit e7b0ab2
Showing
11 changed files
with
1,062 additions
and
1,230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
cmd | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.