molly-brown/Dockerfile
chris 77d3fb8ed1
Some checks failed
dockers/molly-brown/pipeline/head There was a failure building this commit
use alpine 3.14
2021-09-02 20:52:43 +02:00

12 lines
385 B
Docker

FROM reg.zknt.org/zknt/golang:alpine as builder
RUN set -xe;\
go get tildegit.org/solderpunk/molly-brown
FROM reg.zknt.org/zknt/alpine:3.14
RUN apk add --no-cache gettext
COPY --from=builder /go/bin/molly-brown /molly-brown
COPY molly.conf /etc/molly.conf.template
VOLUME /cert /var/gemini
EXPOSE 1965
ENTRYPOINT envsubst < /etc/molly.conf.template > /etc/molly.conf; /molly-brown