An open source supporter broker powered by high-fives.
high-five.atprotofans.com/
1# High Five - ATProtocol high-five exchange app
2# Source: https://tangled.org/atprotofans.com/high-five
3
4# Build stage
5FROM golang:1.23.5-bookworm AS builder
6
7WORKDIR /app
8
9# Copy go mod files first for better layer caching
10COPY go.mod go.sum ./
11RUN go mod download
12
13# Copy source code
14COPY . .
15
16# Build static binary
17RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /high-five-app ./cmd/server
18
19# Final stage
20FROM gcr.io/distroless/cc-debian12
21
22COPY --from=builder /high-five-app /high-five-app
23COPY --from=builder /app/templates /templates
24
25EXPOSE 8080
26
27ENTRYPOINT ["/high-five-app"]