diff options
Diffstat (limited to 'atom')
-rw-r--r-- | atom/Dockerfile | 12 | ||||
-rwxr-xr-x | atom/docker-entrypoint.sh | 10 |
2 files changed, 22 insertions, 0 deletions
diff --git a/atom/Dockerfile b/atom/Dockerfile new file mode 100644 index 0000000..d29c97d --- /dev/null +++ b/atom/Dockerfile @@ -0,0 +1,12 @@ +FROM python:latest + +COPY gemfeed/gemfeed.py / +COPY gemfeed/setup.py / +COPY docker-entrypoint.sh / + +RUN python -m pip install -e . + +VOLUME /feed +VOLUME /gemini + +CMD /docker-entrypoint.sh diff --git a/atom/docker-entrypoint.sh b/atom/docker-entrypoint.sh new file mode 100755 index 0000000..5e53cc3 --- /dev/null +++ b/atom/docker-entrypoint.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env sh +set -ex +python gemfeed.py \ + -b gemini://senders.io \ + -d /gemini/ \ + -o /feed/atom.xml \ + -e stephen+gemini@senders.io \ + -a senders \ + -t "Senders' Capsule" + |