Files
go-hauk/Dockerfile
dependabot[bot] 6fc04e3e36 Bump alpine from 3.23 to 3.24
Bumps alpine from 3.23 to 3.24.

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-09 22:35:31 +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.24
RUN apk add --no-cache ca-certificates
COPY --from=builder /app/hauk /usr/local/bin/
EXPOSE 8080
CMD ["hauk"]