FROM couchdb:latest HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=5 CMD curl --fail http://localhost:5984 || exit 1 COPY ./config/* /opt/couchdb/etc/local.d/*