summaryrefslogtreecommitdiff
path: root/capsule/Dockerfile
diff options
context:
space:
mode:
authorBill <bill@billserver.senders.io>2021-03-09 13:37:02 -0500
committerBill <bill@billserver.senders.io>2021-03-09 13:37:02 -0500
commitc7f16a184684c377b194b802346850e090d202c7 (patch)
tree3692696e7c8c1730c51f99a7408ee853b9031986 /capsule/Dockerfile
Setup initial server
Diffstat (limited to 'capsule/Dockerfile')
-rw-r--r--capsule/Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/capsule/Dockerfile b/capsule/Dockerfile
new file mode 100644
index 0000000..945c93e
--- /dev/null
+++ b/capsule/Dockerfile
@@ -0,0 +1,16 @@
+FROM debian:stable-slim
+
+RUN apt-get update && apt-get install -y golang git
+RUN mkdir /opt/go
+ENV GOPATH=/opt/go
+RUN go get github.com/BurntSushi/toml
+RUN go get tildegit.org/solderpunk/molly-brown
+
+EXPOSE 1965
+VOLUME /etc/certs
+VOLUME /var/log/molly
+VOLUME /var/gemini
+
+COPY molly.conf /etc/molly.conf
+
+ENTRYPOINT /opt/go/bin/molly-brown