Dockerfile 394 B

1234567891011121314151617181920212223
  1. FROM alpine
  2. LABEL \
  3. maintainer="Davide Alberani <da@erlug.linux.it>"
  4. RUN \
  5. apk add --no-cache \
  6. python3 \
  7. py3-cffi \
  8. py3-six \
  9. py3-requests \
  10. py3-tz \
  11. py3-dateutil \
  12. py3-decorator \
  13. py3-cryptography && \
  14. pip3 install Mastodon.py
  15. COPY cthulhusay.py mastodon-cthulhusay.py /
  16. RUN chmod +x /mastodon-cthulhusay.py
  17. WORKDIR /
  18. ENTRYPOINT ["python3", "/mastodon-cthulhusay.py"]