summaryrefslogtreecommitdiff
path: root/molly-capsule/Dockerfile
diff options
context:
space:
mode:
authorBill <bill@billserver.senders.io>2021-04-06 23:39:44 -0400
committerBill <bill@billserver.senders.io>2021-04-06 23:39:44 -0400
commit05d62ad4d341be057ed72bfd0b308de8f492efa8 (patch)
tree24f74dc1f7c37a95c565ecf5aecdb88e68e95cfb /molly-capsule/Dockerfile
parent26f6110c3f69966dec42078c369a699b9e947b79 (diff)
Migrate to Java Gemini Server
Diffstat (limited to 'molly-capsule/Dockerfile')
-rw-r--r--molly-capsule/Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/molly-capsule/Dockerfile b/molly-capsule/Dockerfile
new file mode 100644
index 0000000..945c93e
--- /dev/null
+++ b/molly-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