From: Guillaume Pellerin Date: Wed, 20 Jan 2016 20:14:13 +0000 (+0100) Subject: fix rights fir eggs X-Git-Tag: 1.6b~7^2~7 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=bc63adeec5e1e47d7ab9dbc13045741e70f0a318;p=telemeta.git fix rights fir eggs --- diff --git a/Dockerfile b/Dockerfile index 4179bed7..202ed878 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,5 +25,9 @@ WORKDIR /srv/src/telemeta RUN pip install -r requirements.txt RUN pip install -r requirements-dev.txt --src /srv/src +ENV PYTHON_EGG_CACHE=/srv/.python-eggs +RUN mkdir $PYTHON_EGG_CACHE +RUN chown www-data:www-data $PYTHON_EGG_CACHE + WORKDIR /srv/app EXPOSE 8000 diff --git a/app/deploy/celery_app.sh b/app/deploy/celery_app.sh index abc11f69..e4afba7d 100644 --- a/app/deploy/celery_app.sh +++ b/app/deploy/celery_app.sh @@ -6,7 +6,7 @@ manage=$app'/manage.py' wsgi=$app'/wsgi.py' # stating apps -pip install redis +pip install django-environ # waiting for other services sh $app/deploy/wait.sh