forked from embercore-labs/embercore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (15 loc) · 924 Bytes
/
Copy pathDockerfile
File metadata and controls
21 lines (15 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ── Build stage ──────────────────────────────────────────────
FROM golang:1.25-alpine AS builder
RUN apk add --no-cache git ca-certificates
WORKDIR /src
COPY packages/engine/go.mod packages/engine/go.sum ./packages/engine/
RUN cd packages/engine && go mod download
COPY packages/engine/ ./packages/engine/
RUN cd packages/engine && CGO_ENABLED=0 GOOS=linux \
go build -trimpath -ldflags="-s -w" -o /usr/local/bin/embercore-mcp .
# ── Runtime stage ────────────────────────────────────────────
FROM alpine:3.21
RUN apk add --no-cache ca-certificates
COPY --from=builder /usr/local/bin/embercore-mcp /usr/local/bin/embercore-mcp
# Glama introspection: the server must respond on stdio by default.
ENTRYPOINT ["embercore-mcp"]