just trying things gpt sucks fuck
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
FROM golang:alpine3.22 AS builder
|
FROM golang:alpine3.22 AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o parser main.go
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o go-parser main.go
|
||||||
|
|
||||||
FROM golang:alpine3.22
|
# FROM golang:alpine3.22
|
||||||
COPY --from=builder /app/parser /usr/loca/bin/parser
|
FROM alpine3.22
|
||||||
ENTRYPOINT [ "/usr/local/bin/parser" ]
|
COPY --from=builder /app/go-parser /go-parser
|
||||||
|
ENTRYPOINT [ "/go-parser" ]
|
||||||
Reference in New Issue
Block a user