[+] update dockerfile
Some checks failed
Build and Push Docker Images / docker (push) Failing after 26s
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:
parent
7355e52e3f
commit
9dd7ba05e9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user