mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-31 13:50:24 +00:00
Added back djworker (for celery)
This commit is contained in:
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
python manage.py celeryd
|
||||
su -m djworker -c "python manage.py celeryd"
|
||||
Reference in New Issue
Block a user