adding a mongo server

This commit is contained in:
Vincent Batts 2014-03-13 13:10:35 -04:00
parent 64403714de
commit 1ed09e1af7
1 changed files with 5 additions and 0 deletions

5
fedora-mongo/Dockerfile Normal file
View File

@ -0,0 +1,5 @@
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"]
CMD "mongod"