I have no idea about Docker.

This commit is contained in:
Gregor Reitzenstein 2020-12-16 14:38:40 +01:00
parent 67927139c6
commit 1b638d6d29

View File

@ -15,7 +15,8 @@ FROM debian:buster-slim
RUN apt-get update && apt-get upgrade -yqq RUN apt-get update && apt-get upgrade -yqq
RUN apt-get install -yqq libgsasl7 && rm -rf /var/lib/apt/lists/* RUN apt-get install -yqq libgsasl7 && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/diflouroborane /usr/local/bin/diflouroborane COPY --from=builder /usr/local/cargo/bin/diflouroborane /usr/local/bin/diflouroborane
COPY --from=builder /usr/src/bffh/examples/bffh.dhall /etc/diflouroborane.dhall
# RUN diflouroborane --print-default > /etc/diflouroborane.toml # RUN diflouroborane --print-default > /etc/diflouroborane.toml
VOLUME /etc/diflouroborane.toml VOLUME /etc/diflouroborane.dhall
EXPOSE 59661 EXPOSE 59661
ENTRYPOINT ["diflouroborane"] ENTRYPOINT ["diflouroborane"]