]> git.parisson.com Git - telemeta.git/commitdiff
fix rights fir eggs
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 20 Jan 2016 20:14:13 +0000 (21:14 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 20 Jan 2016 20:14:13 +0000 (21:14 +0100)
Dockerfile
app/deploy/celery_app.sh

index 4179bed7b55866280a016c7af5262eecca5ef224..202ed87815089fca55163498c1f23e36e418e708 100644 (file)
@@ -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
index abc11f69f5d73a9d8b3d376b5e52a5bc20e5540e..e4afba7d16cf6711cac4515a5bd73b53d5892d32 100644 (file)
@@ -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