federated-dash/Dockerfile
2024-06-26 16:21:13 -06:00

15 lines
295 B
Docker

FROM golang:1.22-alpine as build
ENV TIER=starter
WORKDIR /build
COPY . .
RUN go mod download
RUN go build -o=./fed-dashboard ./cmd/web
FROM gcr.io/distroless/static-debian11
COPY --from=build /build/fed-dashboard .
COPY --from=build /build/ui/ /ui/
EXPOSE 8080
ENTRYPOINT ["/fed-dashboard"]