Files
zeekayandHanzo Dev 4008fb2fbc Go 1.27.1, and the code it can say more simply
The module declares go 1.27.1 and the build image follows. go fix had
nothing to change here; omitzero is not applied, since it changes what
the JSON says.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-16 18:46:37 -07:00

15 lines
336 B
Docker

FROM golang:1.27.1-alpine AS build
ENV GOTOOLCHAIN=auto
WORKDIR /app
COPY go.mod ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o exchange-proxy .
FROM alpine:3.20
RUN apk add --no-cache ca-certificates
COPY --from=build /app/exchange-proxy /usr/local/bin/
EXPOSE 8088
ENTRYPOINT ["exchange-proxy"]
CMD ["-addr", ":8088"]