broadcast/Dockerfile
2023-03-14 18:35:30 +01:00

13 lines
215 B
Docker

FROM golang:1.20
ENV CGO=1
WORKDIR /src
COPY . /src
RUN apt update \
&& apt install -y libsystemd-dev \
&& go build -o / ./cmd/... \
&& rm -rf /var/lib/apt/lists/* /var/cache/*
ENTRYPOINT ["/broadcast"]