add dendrite

This commit is contained in:
2021-01-17 15:26:31 +01:00
parent bdd09a39bb
commit f561591cc7
4 changed files with 49 additions and 0 deletions

14
dendrite/Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM golang:buster as builder
ARG DEBIAN_FRONTEND=noninteractive
COPY dendrite /dendrite
WORKDIR /dendrite
RUN ./build.sh
FROM debian:buster
COPY --from=builder /dendrite/bin/ /usr/local/bin/
COPY --from=builder /dendrite/dendrite-config.yaml /usr/local/share/
COPY entrypoint.sh /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]