2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-03 19:44:58 +01:00

add slacker

This commit is contained in:
kev
2021-04-07 12:27:14 +08:00
parent f5664d7f40
commit 4110b9fc87
5 changed files with 76 additions and 0 deletions

15
slacker/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
#
# 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"]