this isn't fun anymore 2
This commit is contained in:
@@ -3,7 +3,7 @@ FROM golang:alpine3.22 AS builder
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go mod download && \
|
RUN go mod download && \
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /app/parser main.go
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o parser main.go
|
||||||
|
|
||||||
FROM golang:alpine3.22
|
FROM golang:alpine3.22
|
||||||
COPY --from=builder /app/parser /run/parser
|
COPY --from=builder /app/parser /run/parser
|
||||||
|
|||||||
Reference in New Issue
Block a user