Rename gunicorn script to start

This commit is contained in:
Nikita P. Shupeyko 2018-05-21 22:28:18 +03:00
parent b069f8e40e
commit 6cefe2b9dc
3 changed files with 6 additions and 6 deletions

View File

@ -19,15 +19,15 @@ COPY ./requirements /requirements
RUN pip install --no-cache-dir -r /requirements/production.txt \
&& rm -rf /requirements
COPY ./compose/production/django/gunicorn /gunicorn
RUN sed -i 's/\r//' /gunicorn
RUN chmod +x /gunicorn
RUN chown django /gunicorn
COPY ./compose/production/django/entrypoint /entrypoint
RUN sed -i 's/\r//' /entrypoint
RUN chmod +x /entrypoint
RUN chown django /entrypoint
COPY ./compose/production/django/start /start
RUN sed -i 's/\r//' /start
RUN chmod +x /start
RUN chown django /start
{% if cookiecutter.use_celery == "y" %}
COPY ./compose/production/django/celery/worker/start /start-celeryworker
RUN sed -i 's/\r//' /start-celeryworker

View File

@ -17,7 +17,7 @@ services:
env_file:
- ./.envs/.production/.django
- ./.envs/.production/.postgres
command: /gunicorn
command: /start
postgres:
build: