2023-08-12 08:45:40 +01:00
|
|
|
FROM golang:alpine as builder
|
|
|
|
WORKDIR /build
|
|
|
|
COPY . .
|
|
|
|
RUN go build
|
|
|
|
|
2023-08-12 09:45:35 +01:00
|
|
|
FROM alpine:latest
|
2023-08-12 08:45:40 +01:00
|
|
|
COPY --from=builder /build/map-dots /bin/map-dots
|
|
|
|
CMD [ "/bin/map-dots", "--server" ]
|