24 lines
427 B
Docker
24 lines
427 B
Docker
FROM alpine
|
|
LABEL \
|
|
maintainer="Davide Alberani <da@mimante.net>"
|
|
|
|
RUN \
|
|
apk add --no-cache \
|
|
python3 \
|
|
py3-cffi \
|
|
py3-six \
|
|
py3-pip \
|
|
py3-requests \
|
|
py3-tz \
|
|
py3-dateutil \
|
|
py3-decorator \
|
|
py3-cryptography && \
|
|
pip3 install --break-system-packages Mastodon.py
|
|
COPY cthulhusay.py mastodon-cthulhusay.py /
|
|
RUN chmod +x /mastodon-cthulhusay.py
|
|
|
|
WORKDIR /
|
|
|
|
ENTRYPOINT ["python3", "/mastodon-cthulhusay.py"]
|
|
|
|
|