Director/Containerfile
Wesley van Tilburg 171955a6cc
Some checks failed
Build container / build (push) Failing after 30s
feat: initial ci setup
2025-01-02 17:20:05 +01:00

14 lines
233 B
Docker

FROM docker.io/golang:1.23 as builder
WORKDIR /app
COPY ./ ./
RUN go mod download
RUN go build -o director ./cmd/director
FROM docker.io/alpine:3.21
WORKDIR /app
COPY --from=builder /app/director .
EXPOSE 8080
CMD ["./director"]