dockge/docker/BuildHealthCheck.Dockerfile
Louis Lam a1645ca0f1 WIP
2023-11-29 18:03:47 +08:00

10 lines
307 B
Docker

############################################
# Build in Golang
############################################
FROM golang:1.21.4-bookworm
WORKDIR /app
ARG TARGETPLATFORM
COPY ./extra/healthcheck.go ./extra/healthcheck.go
# Compile healthcheck.go
RUN go build -x -o ./extra/healthcheck ./extra/healthcheck.go