Added back djworker (for celery)

This commit is contained in:
Fergal Moran
2015-11-09 21:19:44 +00:00
parent 241927380f
commit 6fbbbc04a5
2 changed files with 5 additions and 2 deletions

View File

@@ -19,4 +19,7 @@ ADD . /code/
RUN apt-get update && apt-get install -y sox lame vim ccze \
libboost-program-options-dev libsox-fmt-mp3 postgresql-client rsync openssh-client
RUN pip install -r requirements.txt
RUN pip install -r requirements.txt
RUN adduser --disabled-password --gecos '' djworker
RUN chown djworker /files -R

View File

@@ -1,2 +1,2 @@
#!/bin/sh
python manage.py celeryd
su -m djworker -c "python manage.py celeryd"