summaryrefslogtreecommitdiff
path: root/capsule/Dockerfile
blob: 945c93e573ad6d229e6b61e9973077f3e8c5139e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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