uwsgi.dockerfile 291 B

1234567891011
  1. FROM python:2.7.15-stretch
  2. ADD ./ /uw
  3. WORKDIR /uw
  4. RUN pip install -r /uw/requirements.txt
  5. EXPOSE 8080
  6. CMD uwsgi --master -L -l 5000 --gevent 1000 --http :8080 --http-keepalive --http-processes $(nproc) -p $(nproc) -w hello --add-header "Connection: keep-alive" --pidfile /tmp/uwsgi.pid