1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-30 02:31:31 +00:00
dockerfiles/slacker/Dockerfile

16 lines
397 B
Docker
Raw Normal View History

2021-04-07 04:27:14 +00:00
#
# Dockerfile for slacker
#
FROM python:3.9-alpine
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache curl \
&& pip install aiosmtpd atpublic pyslack pyyaml requests \
&& cd /usr/local/lib/python3.9/site-packages/ \
&& wget https://github.com/ont/slacker/raw/master/handler.py
EXPOSE 8025
CMD ["aiosmtpd", "-n", "-l", "0.0.0.0:8025", "-c", "handler.MessageHandler"]