github.com/gkstretton/dark/services/goo@v0.0.0-20231114224855-2d1a2074d446/Dockerfile (about) 1 FROM golang:1.19 2 3 RUN apt update && apt install -y \ 4 ffmpeg \ 5 gphoto2 \ 6 python3 \ 7 python3-pip 8 9 RUN python3 -m pip install opencv-python scikit-image matplotlib pyyaml pandas 10 11 WORKDIR /src 12 13 COPY ./go.mod ./go.mod 14 COPY ./go.sum ./go.sum 15 16 RUN go mod download 17 18 COPY . . 19 20 RUN go build -race 21 22 ENTRYPOINT ["./goo"]