Files
go-hauk/Dockerfile
dependabot[bot] bc0c14cbb5 Bump alpine from 3.19 to 3.23
Bumps alpine from 3.19 to 3.23.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: '3.23'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-26 19:57:08 +00:00

13 lines
281 B
Docker

FROM golang:1.25-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o hauk .
FROM alpine:3.23
RUN apk add --no-cache ca-certificates
COPY --from=builder /app/hauk /usr/local/bin/
EXPOSE 8080
CMD ["hauk"]