chown django /start-(celerybeat|celeryworker) in production Django

This commit is contained in:
Nikita P. Shupeyko 2018-05-25 12:55:27 +03:00
parent ea9a781cc8
commit 77f61de236

View File

@ -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