Renaming the project to Pillar.
This commit is contained in:
@@ -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; \
|
@@ -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"]
|
Reference in New Issue
Block a user