compobot/Dockerfile
J. Elfring (x) 169234ddea Fix Dockerfile
by removing a \
2020-09-18 12:30:52 +02:00

25 lines
598 B
Docker

FROM alpine:latest
LABEL maintainer "J. Elfring <code@elfring.ms>"
RUN apk --no-cache --update \
add bash \
ca-certificates \
curl \
sqlite \
&& mkdir -p /app/sequences \
&& mkdir /data
COPY sequences/Compose.db3 /app/sequences/Compose.db3
COPY compoBot.sh /app/compoBot.sh
ENV database="/data/working-db.db3" \
minWait=43200 \
maxWait=86400 \
mtdApi="https://mastodon.example/api/v1/statuses" \
mtdVisibility="direct" \
mtdToken="THIS_SHOULD_BE_A_Bearer-Token"
VOLUME /data
WORKDIR /app
CMD ["/app/compoBot.sh"]