From 4be2c9bf47adee2e0eb86c99aed8ff43f3c99ca5 Mon Sep 17 00:00:00 2001 From: Oliver Marks Date: Sat, 25 Feb 2017 12:25:56 +0000 Subject: [PATCH] update dockerfile with new gunnicorn files --- compose/django/Dockerfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/compose/django/Dockerfile b/compose/django/Dockerfile index 96a5ef7..181d533 100644 --- a/compose/django/Dockerfile +++ b/compose/django/Dockerfile @@ -17,14 +17,18 @@ RUN mkdir -p /var/log/gunicorn/ \ && chown -R root:django /var/log/gunicorn/ \ && chmod -R 770 /var/log/gunicorn/ -COPY ./compose/django/gunicorn.sh /gunicorn.sh +COPY ./compose/django/live-gunicorn-mhackspace.sh /live-gunicorn-mhackspace.sh +COPY ./compose/django/live-gunicorn-mhackspace.sh /stage-gunicorn-mhackspace.sh COPY ./compose/django/entrypoint.sh /entrypoint.sh RUN sed -i 's/\r//' /entrypoint.sh \ - && sed -i 's/\r//' /gunicorn.sh \ + && sed -i 's/\r//' /stage-gunicorn-mhackspace.sh \ + && sed -i 's/\r//' /live-gunicorn-mhackspace.sh \ && chmod +x /entrypoint.sh \ && chown django /entrypoint.sh \ - && chmod +x /gunicorn.sh \ - && chown django /gunicorn.sh \ + && chmod +x /stage-gunicorn-mahckspace.sh \ + && chown django /stage-gunicorn-mhackspace.sh \ + && chmod +x /live-gunicorn-mhackspace.sh \ + && chown django /live-gunicorn-mhackspace.sh \ && chown django /data/sockets WORKDIR /app