buildx/dendrite/Dockerfile

15 lines
344 B
Docker
Raw Normal View History

2021-01-17 14:26:31 +00:00
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"]