2024-06-27 02:20:00 +03:00
|
|
|
# syntax=docker/dockerfile:1
|
|
|
|
|
2024-06-27 02:33:25 +03:00
|
|
|
FROM golang:1.22.4-alpine
|
2024-06-27 02:20:00 +03:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY go.mod go.sum ./
|
|
|
|
RUN go mod download
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN CGO_ENABLED=0 GOOS=linux go build -o /rss2world
|
|
|
|
|
|
|
|
ENV RSS_URL="https://neonxp.ru/feed.atom"
|
|
|
|
ENV CHECK_INTERVAL="5m"
|
|
|
|
ENV SEQ_FILE="/store/seq.txt"
|
|
|
|
ENV TELEGRAM_TOKEN="279146841:AAE9Yd2W........_gAhbO3usM"
|
|
|
|
ENV TELEGRAM_GROUPS="-1001003209449"
|
|
|
|
|
|
|
|
CMD ["/rss2world"]
|