Skip to content

Commit

Permalink
Stuffs with dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed Nov 23, 2018
1 parent a4e8cad commit cbd44c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions misc/Docker/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ RUN apt-get update && apt-get install -y software-properties-common && add-apt-r
libxslt1-dev libxml2 libxml2-dev libkml-dev locales \
&& npm -g install topojson \
&& rm -rf /var/lib/apt/lists/* \
&& sed -e '/save/ s/^#*/#/' -i /etc/redis/redis.conf \
&& sysctl vm.overcommit_memory=1 \
&& locale-gen fr_FR.UTF-8

Expand Down Expand Up @@ -84,4 +83,4 @@ RUN cd /home/app/magrit/ \
EXPOSE 9999

CMD redis-server /etc/redis/redis.conf \
& gunicorn "magrit_app.app:create_app()" --bind 0.0.0.0:9999 --worker-class aiohttp.worker.GunicornUVLoopWebWorker --max-requests 600 --max-requests-jitter 50 --workers 3 --chdir /home/app/magrit/
& gunicorn "magrit_app.app:create_app()" --bind 0.0.0.0:9999 --worker-class aiohttp.worker.GunicornUVLoopWebWorker --max-requests 450 --max-requests-jitter 50 --workers 3 --chdir /home/app/magrit/

0 comments on commit cbd44c6

Please sign in to comment.