A Telegram Bot that sends updates in a JSON Feed to a Telegram channel https://jlel.se/tgblog
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
304 B

FROM golang:1.14-alpine3.12 as build
ADD . /app
WORKDIR /app
RUN go build
FROM alpine:3.12
RUN apk add --no-cache tzdata ca-certificates
COPY --from=build /app/JsonFeedToTelegram /bin/
WORKDIR /app
VOLUME /app/storage
EXPOSE 8080
ENV LAST_ARTICLE_FILE /app/storage/lastarticle
CMD ["JsonFeedToTelegram"]