1
0
Fork 0
Telegram bot to post messages from a Telegram group to Mastodon.
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.
telegram-group2mastodon/Dockerfile

22 lines
355 B

FROM golang:1.17-alpine3.15 AS builder
WORKDIR /app
RUN apk -U --no-cache add git
COPY . .
RUN go build
FROM alpine:3.15
COPY --from=builder /app/telegram-group2mastodon /bin/telegram-group2mastodon
RUN apk -U --no-cache upgrade
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
USER appuser
ENTRYPOINT /bin/telegram-group2mastodon run