mirror of
https://github.com/vimagick/dockerfiles.git
synced 2026-01-03 19:44:58 +01:00
add slacker
This commit is contained in:
15
slacker/Dockerfile
Normal file
15
slacker/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user