buildx/dendrite/Dockerfile
2021-01-17 15:26:31 +01:00

15 lines
344 B
Docker

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"]