Adding Dockerfiles for MongoDB & Attract
MongoDB docker is working, Attract docker need some tweaks.
This commit is contained in:
18
docker/attract/Dockerfile
Normal file
18
docker/attract/Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user