container-images/laughing-octo/fedora-mongo/Dockerfile

6 lines
248 B
Text
Raw Normal View History

2014-03-13 17:10:35 +00:00
FROM fedora
RUN yum install --setopt=override_install_langs=en --setopt=tsflags=nodocs --setopt=keepcache=0 -y mongodb-server && mkdir -p /data/db && rm -rf /var/cache/yum
EXPOSE 27017 28017
VOLUME ["/data/db"]
2014-04-07 14:23:17 +00:00
CMD mongod --noprealloc --smallfiles