Skip to content

Commit 1195cf5

Browse files
Build full package in Dockerfile to include all commands
1 parent 6f96e48 commit 1195cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
1414
--mount=type=cache,target=/root/.cache/go-build \
1515
--mount=type=bind,target=. \
1616
CGO_ENABLED=0 go build -ldflags="-s -w -X main.version=${VERSION} -X main.commit=$(git rev-parse HEAD) -X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
17-
-o /bin/github-mcp-server cmd/github-mcp-server/main.go
17+
-o /bin/github-mcp-server ./cmd/github-mcp-server
1818

1919
# Make a stage to run the app
2020
FROM gcr.io/distroless/base-debian12

0 commit comments

Comments
 (0)