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

Signed-off-by: sunyz <i@sunyz.net>
This commit is contained in:
sunyz 2025-01-22 17:55:18 +08:00
parent 7355e52e3f
commit 9dd7ba05e9

View File

@ -1,8 +1,8 @@
FROM golang:1.23.5 AS builder FROM golang:1.23.5 AS builder
ARG VERSION=prod ARG VERSION=prod
WORKDIR /app WORKDIR /app
COPY go.mod go.sum ./ COPY . .
RUN go mod download RUN go mod tidy
RUN go build -o lucky RUN go build -o lucky
FROM debian:bullseye-slim FROM debian:bullseye-slim