From c7f16a184684c377b194b802346850e090d202c7 Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 9 Mar 2021 13:37:02 -0500 Subject: Setup initial server --- atom/Dockerfile | 12 ++++++++++++ atom/docker-entrypoint.sh | 10 ++++++++++ 2 files changed, 22 insertions(+) create mode 100644 atom/Dockerfile create mode 100755 atom/docker-entrypoint.sh (limited to 'atom') 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" + -- cgit v1.2.3-54-g00ecf