testing
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
# FROM registry.jakeyoungdev.com/go/alpine:1.25.3 AS builder
|
# FROM registry.jakeyoungdev.com/go/alpine:1.25.3 AS builder
|
||||||
FROM golang:alpine3.22 AS builder
|
FROM golang:alpine3.22 AS builder
|
||||||
WORKDIR /build
|
|
||||||
COPY . /build/
|
|
||||||
RUN go mod download && \
|
RUN go mod download && \
|
||||||
go build -o /build/parser main.go
|
go build -o parser main.go
|
||||||
|
|
||||||
FROM golang:alpine3.22
|
FROM golang:alpine3.22
|
||||||
COPY --from=builder /build/parser ./parser
|
COPY --from=builder /parser .
|
||||||
CMD [ "./parser" ]
|
CMD [ "./parser" ]
|
||||||
Reference in New Issue
Block a user