парсер

This commit is contained in:
Artem Tsyrulnikov
2026-01-06 21:04:42 +03:00
parent b77e4fd0b6
commit 2c0ae2dfc3
45 changed files with 2202 additions and 51 deletions

17
tg_parser/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM golang:1.25-alpine AS build
WORKDIR /app
# Modules layer
COPY go.mod go.sum ./
RUN go mod download
# Build layer
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o /parser .
FROM alpine:latest AS run
COPY --from=build /parser /parser
CMD ["/parser"]