update dockerfile with new gunnicorn files
This commit is contained in:
parent
5670dcd446
commit
4be2c9bf47
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue