Renaming the project to Pillar.

This commit is contained in:
2015-08-31 18:22:50 +02:00
parent b75482b0d6
commit 1830d04400
13 changed files with 11 additions and 29 deletions

View File

@@ -10,17 +10,18 @@ nano
RUN mkdir /data
RUN mkdir /data/www
RUN mkdir /data/www/attract_server_dev
#RUN git clone https://github.com/armadillica/attract.git /data/www/attract
RUN mkdir /data/www/pillar_dev
RUN pip install virtualenv
RUN virtualenv /data/venv
#RUN . /data/venv/bin/activate
#RUN pip install -r requirements.txt
VOLUME /data/www/attract_server_dev
VOLUME /data/www/pillar_dev
ENV MONGO_HOST='mongo_pillar'
EXPOSE 5000
ENTRYPOINT . /data/venv/bin/activate; \
cd /data/www/attract_server_dev; \
#ENTRYPOINT . /data/venv/bin/activate; \
#cd /data/www/pillar_dev; \

View File

@@ -1,18 +0,0 @@
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"]