From fd947ac105c0b0de31de20d6883ccdb513988548 Mon Sep 17 00:00:00 2001 From: Matt Burchett Date: Thu, 4 Feb 2021 01:45:50 -0600 Subject: [PATCH] build from alpine instead of scratch --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3813bc5..78a2141 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,6 @@ WORKDIR /root/ COPY . /root/ RUN go build -o /root/matrix-handler cmd/svr/main.go -FROM scratch +FROM alpine COPY --from=build /root/matrix-handler /bin/matrix-handler ENTRYPOINT ["/bin/matrix-handler"] \ No newline at end of file