dockerfile
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 22s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 22s
This commit is contained in:
parent
7306fe31f6
commit
f45de9727b
@ -1,6 +1,6 @@
|
|||||||
FROM golang:1.23 AS builder
|
FROM golang:1.23 AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod ./
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
COPY *.go ./
|
COPY *.go ./
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o job-api
|
RUN CGO_ENABLED=0 GOOS=linux go build -o job-api
|
||||||
|
Loading…
Reference in New Issue
Block a user