Files
healthr-go/Containerfile
2025-03-28 13:50:10 +01:00

18 lines
228 B
Docker

FROM golang:alpine AS backend_build
WORKDIR /app
COPY go.mod ./
RUN go mod download
COPY . .
RUN go build -o /healthr
FROM alpine:edge AS backend
COPY --from=backend_build /healthr /healthr
EXPOSE 8090
CMD [ "/healthr" ]