This commit is contained in:
Artem Tsyrulnikov
2026-01-18 13:59:47 +03:00
parent d8202e1141
commit 62e8f98429
62 changed files with 156 additions and 190 deletions

View File

@@ -1,13 +1,14 @@
FROM golang:1.25-alpine AS build
WORKDIR /app
WORKDIR /app/tg_parser
# Modules layer
COPY go.mod go.sum ./
COPY tg_parser/go.mod tg_parser/go.sum ./
COPY pkg /app/pkg
RUN go mod download
# Build layer
COPY . .
COPY tg_parser /app/tg_parser
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o /parser .
FROM alpine:latest AS run