Files
status-dashboard/Dockerfile
groot ac786f6eab
Some checks failed
release-tag / release-image (push) Has been cancelled
build-binaries / build (, amd64, linux) (push) Has been cancelled
build-binaries / build (, arm, 7, linux) (push) Has been cancelled
build-binaries / build (, arm64, linux) (push) Has been cancelled
build-binaries / build (.exe, amd64, windows) (push) Has been cancelled
build-binaries / release (push) Has been cancelled
Dockerfile aktualisiert
2025-10-15 08:33:40 +00:00

12 lines
262 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
##COPY services.json /services.json
VOLUME ["/data"]
EXPOSE 8080
CMD ["/goprg"]