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

18
docker/attract/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM ubuntu:14.04
MAINTAINER Eibriel <eibriel@eibriel.com>
RUN mkdir attract
RUN apt-get update && apt-get install -y \
git
RUN git clone https://github.com/fsiddi/attract.git /attract/
RUN apt-get update && apt-get install -y \
python-pip
RUN pip install -r /attract/requirements.txt
EXPOSE 5000
CMD ["python", "/attract/attract/manage.py", "runserver"]