blob: f7eab63c472d8df299856715cd4681938fc6b588 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
FROM alpine:3.17
ENV VERSION={{ lookup('aws_ssm', '/jinwei-me/tgbot/version') }}
ENV TOKEN ""
WORKDIR /app
ADD https://github.com/iovxw/rssbot/releases/download/${VERSION}/rssbot-en-x86_64-unknown-linux-musl /app/rssbot
RUN chmod +x /app/rssbot
CMD ["sh", "-c", "./rssbot ${TOKEN}"]
|