cthulhusay/Dockerfile

25 lines
427 B
Text
Raw Permalink Normal View History

2018-12-15 13:13:10 +01:00
FROM alpine
LABEL \
2024-12-05 23:45:39 +01:00
maintainer="Davide Alberani <da@mimante.net>"
2018-12-15 13:13:10 +01:00
RUN \
apk add --no-cache \
python3 \
py3-cffi \
py3-six \
2024-12-05 23:45:39 +01:00
py3-pip \
2018-12-15 13:13:10 +01:00
py3-requests \
py3-tz \
py3-dateutil \
py3-decorator \
py3-cryptography && \
2024-12-05 23:45:39 +01:00
pip3 install --break-system-packages Mastodon.py
2018-12-15 13:13:10 +01:00
COPY cthulhusay.py mastodon-cthulhusay.py /
RUN chmod +x /mastodon-cthulhusay.py
WORKDIR /
ENTRYPOINT ["python3", "/mastodon-cthulhusay.py"]