[+] update dockerfile
Some checks failed
Build and Push Docker Images / docker (push) Failing after 35s
Some checks failed
Build and Push Docker Images / docker (push) Failing after 35s
Signed-off-by: sunyz <i@sunyz.net>
This commit is contained in:
parent
713dde420b
commit
d268d3c970
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user