mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-04-25 20:36:21 +02:00
Release prep: 54 engines, self-hosted signatures, i18n, dashboard updates
This commit is contained in:
parent
694e32be26
commit
41cbfd6e0a
178 changed files with 36008 additions and 399 deletions
13
cmd/syntrex-proxy/Dockerfile
Normal file
13
cmd/syntrex-proxy/Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
FROM golang:1.22-alpine AS builder
|
||||
WORKDIR /build
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /syntrex-proxy ./cmd/syntrex-proxy/
|
||||
|
||||
FROM alpine:3.19
|
||||
RUN apk add --no-cache ca-certificates
|
||||
COPY --from=builder /syntrex-proxy /usr/local/bin/syntrex-proxy
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["syntrex-proxy"]
|
||||
CMD ["--listen", ":8080", "--target", "https://api.openai.com", "--mode", "block"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue