toot-my-t-shirt/Dockerfile

26 lines
387 B
Text
Raw Normal View History

2018-12-07 21:40:16 +01:00
FROM alpine
LABEL \
maintainer="Davide Alberani <da@erlug.linux.it>"
RUN \
apk add --no-cache \
python3 \
py3-tornado \
py3-cffi \
py3-six \
py3-requests \
py3-tz \
py3-dateutil \
py3-decorator \
py3-cryptography && \
pip3 install Mastodon.py
COPY ssl /ssl
COPY static /static
COPY toot-my-t-shirt /
WORKDIR /
EXPOSE 80
ENTRYPOINT ["python3", "toot-my-t-shirt"]