Adding Dockerfiles for MongoDB & Attract

MongoDB docker is working,
Attract docker need some tweaks.
This commit is contained in:
Eibriel
2015-04-06 14:30:03 -03:00
parent ff7d339f9c
commit 42ad3d3d54
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
FROM ubuntu:14.04
MAINTAINER Eibriel <eibriel@eibriel.com>
RUN apt-get update && apt-get install -y \
mongodb
#RUN mkdir /data && mkdir /data/db
RUN mkdir /data
VOLUME /data/db
CMD ["mongod", "--smallfiles"]
EXPOSE 27017
#CMD ["python", "/attract/attract/manage.py", "runserver", "-DFOREGROUND"]