From d268d3c9704b0da2b81c69eea3479598e674972c Mon Sep 17 00:00:00 2001 From: sunyz Date: Wed, 22 Jan 2025 18:31:59 +0800 Subject: [PATCH] [+] update dockerfile Signed-off-by: sunyz --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f0fea4..4387875 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM golang:1.23.5 AS builder +FROM golang:1.23.5-bookworm AS builder ARG VERSION=prod WORKDIR /app COPY . . RUN go mod tidy RUN go build -o lucky -FROM debian:bullseye-slim +FROM debian:bookworm-slim WORKDIR /app COPY --from=builder /app/lucky . COPY --from=builder /app/plugin ./plugin