Dockerfile 222 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 FROM debian:stretch-slim COPY files/ /tmp/files/ RUN /tmp/files/configure ENTRYPOINT ["/sbin/entrypoint"] VOLUME "/data" CMD ["sudo", "-u", "mongodb", "/usr/bin/mongod", "--nounixsocket", "--dbpath", "/var/lib/mongodb"]