just trying things gpt sucks fuck

This commit is contained in:
2025-11-09 14:52:34 -05:00
parent a76271d2b3
commit 9ba4be0d5e

View File

@@ -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" ]