meshmap.net/Dockerfile.meshobserv

12 lines
261 B
Docker
Raw Normal View History

2024-05-06 15:47:19 -07:00
FROM golang:latest AS build
WORKDIR /build
COPY go.mod ./
COPY cmd/meshobserv ./
COPY internal ./internal/
RUN go mod tidy
RUN go build -v -o meshobserv
FROM debian:bookworm-slim
COPY --from=build /build/meshobserv /usr/bin/
ENTRYPOINT ["/usr/bin/meshobserv"]