1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-24 07:48:38 +00:00
dockerfiles/slacker/Dockerfile
2021-04-07 12:27:14 +08:00

16 lines
397 B
Docker

#
# 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"]