added a docker volume for bffh db

This commit is contained in:
Kai Kriegel 2021-09-20 20:21:34 +00:00
parent c2fa76de42
commit ce7f678afa

View File

@ -18,5 +18,6 @@ COPY --from=builder /usr/local/cargo/bin/diflouroborane /usr/local/bin/diflourob
#COPY --from=builder /usr/src/bffh/examples/bffh.dhall /etc/diflouroborane.dhall #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/bffh/ VOLUME /etc/bffh/
VOLUME /var/lib/bffh
EXPOSE 59661 EXPOSE 59661
ENTRYPOINT ["sh", "-c", "diflouroborane -c /etc/bffh/bffh.dhall --load=/etc/bffh; diflouroborane -c /etc/bffh/bffh.dhall"] ENTRYPOINT ["sh", "-c", "diflouroborane -c /etc/bffh/bffh.dhall --load=/etc/bffh; diflouroborane -c /etc/bffh/bffh.dhall"]