blob: d8878c54c90fe29e90d114ebd9554eb6b7ebc915 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# syntax=docker/dockerfile:1
FROM golang:1.23.4-alpine
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o /posse
ENV RSS_URL="https://neonxp.ru/feed/"
ENV CHECK_INTERVAL="5m"
ENV SEQ_FILE="/store/seq.txt"
ENV TELEGRAM_TOKEN="279146841:AAE9Yd2W........_gAhbO3usM"
ENV TELEGRAM_GROUPS="-1001003209449"
CMD ["/posse"]
|