Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
|
@@ -15,13 +15,8 @@ RUN go mod download
|
|
| 15 |
# Copy source code
|
| 16 |
COPY . .
|
| 17 |
|
| 18 |
-
# FIX the module graph inside the container
|
| 19 |
-
RUN rm -f go.sum \
|
| 20 |
-
&& go mod tidy \
|
| 21 |
-
&& go mod verify
|
| 22 |
-
|
| 23 |
# Build the Go binary
|
| 24 |
-
RUN CGO_ENABLED=0 GOOS=linux go build -
|
| 25 |
|
| 26 |
# Final stage
|
| 27 |
FROM alpine:latest
|
|
|
|
| 15 |
# Copy source code
|
| 16 |
COPY . .
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
# Build the Go binary
|
| 19 |
+
RUN CGO_ENABLED=0 GOOS=linux go build -o github-mcp-server ./cmd/github-mcp-server
|
| 20 |
|
| 21 |
# Final stage
|
| 22 |
FROM alpine:latest
|