Release prep: 54 engines, self-hosted signatures, i18n, dashboard updates

This commit is contained in:
DmitrL-dev 2026-03-23 16:45:40 +10:00
parent 694e32be26
commit 41cbfd6e0a
178 changed files with 36008 additions and 399 deletions

38
Dockerfile Normal file
View file

@ -0,0 +1,38 @@
# syntax=docker/dockerfile:1
# Syntrex GoMCP — Multi-stage build
# ─── Build stage ────────────────────────────────────
FROM golang:1.25-alpine AS builder
RUN apk add --no-cache ca-certificates tzdata
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
# Build static binary (modernc/sqlite = pure Go, no CGO needed).
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /gomcp ./cmd/gomcp
# ─── Runtime stage ──────────────────────────────────
FROM alpine:3.20
RUN apk add --no-cache ca-certificates
RUN addgroup -S syntrex && adduser -S syntrex -G syntrex
WORKDIR /app
COPY --from=builder /gomcp /app/gomcp
# Create data directory for SQLite + RLM
RUN mkdir -p /data/.rlm && chown -R syntrex:syntrex /data
USER syntrex
EXPOSE 9750
ENV RLM_DIR=/data/.rlm
ENV GOMCP_HTTP_PORT=9750
ENTRYPOINT ["/app/gomcp"]
CMD ["--http-port", "9750"]