#FROM golang:1.23
FROM golang:1.23
WORKDIR /code
ENTRYPOINT ["./uptime"]
ENV GOEXPERIMENT=loopvar
RUN apt update --fix-missing
RUN apt install -y iputils-ping ffmpeg
COPY uptime .
RUN go build .