[+] update dockerfile
Some checks failed
Build and Push Docker Images / docker (push) Failing after 30s

Signed-off-by: sunyz <i@sunyz.net>
This commit is contained in:
sunyz 2025-01-22 19:08:43 +08:00
parent bd7c0fa17f
commit d0d1067bd0

View File

@ -5,8 +5,9 @@ COPY . .
RUN go mod tidy
RUN go build -o lucky
FROM debian:bookworm
FROM ubuntu:latest
WORKDIR /app
RUN apt install -y ca-certificates && apt upgrade -y ca-certificates
COPY --from=builder /app/lucky .
COPY --from=builder /app/plugin ./plugin