Director/Containerfile
Wesley van Tilburg 49c8c6a305
Some checks failed
Build container / build (push) Failing after 31s
feat: initial ci setup
2025-01-02 17:18:29 +01:00

14 lines
213 B
Docker

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