Files
status-dashboard/Dockerfile
jbergner 0977a21641
All checks were successful
release-tag / release-image (push) Successful in 3m43s
build-binaries / build (, amd64, linux) (push) Has been skipped
build-binaries / build (, arm, 7, linux) (push) Has been skipped
build-binaries / build (, arm64, linux) (push) Has been skipped
build-binaries / build (.exe, amd64, windows) (push) Has been skipped
build-binaries / release (push) Has been skipped
init
2025-10-14 23:08:51 +02:00

11 lines
226 B
Docker

FROM golang:1.24.4
WORKDIR /app
COPY go.mod ./
RUN go mod download
COPY *.go ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /goprg
RUN mkdir /data
COPY services.json /data/services.json
VOLUME ["/data"]
EXPOSE 8080
CMD ["/goprg"]