We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 031dd74 commit fca7cd7Copy full SHA for fca7cd7
Dockerfile
@@ -0,0 +1,17 @@
1
+FROM golang:1.23.7 AS build
2
+# Set the working directory
3
+WORKDIR /build
4
+# Copy the current directory contents into the working directory
5
+COPY . .
6
+# Install dependencies
7
+RUN go mod download
8
+# Build the server
9
+RUN CGO_ENABLED=0 go build -o github-mcp-server cmd/github-mcp-server/main.go
10
+# Make a stage to run the app
11
+FROM gcr.io/distroless/base-debian12
12
13
+WORKDIR /server
14
+# Copy the binary from the build stage
15
+COPY --from=build /build/github-mcp-server .
16
+# Command to run the server
17
+CMD ["./github-mcp-server", "stdio"]
0 commit comments