Initial commit
Build & Push / build (push) Canceled after 0s

This commit is contained in:
2026-08-05 19:31:35 +03:00
commit a33fa24e99
272 changed files with 40566 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM golang:1.25-alpine AS build
WORKDIR /app/tg_parser
# Modules layer
COPY tg_parser/go.mod tg_parser/go.sum ./
COPY pkg /app/pkg
RUN go mod download
# Build layer
COPY tg_parser /app/tg_parser
RUN CGO_ENABLED=0 GOOS=linux go build -o /parser .
FROM alpine:latest AS run
COPY --from=build /parser /parser
CMD ["/parser"]