mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-11 04:07:48 +03:00
chown django /start-(celerybeat|celeryworker) in production Django
This commit is contained in:
parent
ea9a781cc8
commit
77f61de236
|
@ -32,10 +32,12 @@ RUN chown django /start
|
|||
COPY ./compose/production/django/celery/worker/start /start-celeryworker
|
||||
RUN sed -i 's/\r//' /start-celeryworker
|
||||
RUN chmod +x /start-celeryworker
|
||||
RUN chown django /start-celeryworker
|
||||
|
||||
COPY ./compose/production/django/celery/beat/start /start-celerybeat
|
||||
RUN sed -i 's/\r//' /start-celerybeat
|
||||
RUN chmod +x /start-celerybeat
|
||||
RUN chown django /start-celerybeat
|
||||
{% endif %}
|
||||
COPY . /app
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user