pyramid.dockerfile 296 B

12345678910111213
  1. FROM python:3.10
  2. ADD ./requirements.txt /pyramid/requirements.txt
  3. # https://github.com/mopemope/meinheld/pull/123
  4. RUN pip3 install --no-deps "meinheld==1.0.2"
  5. RUN pip3 install -r /pyramid/requirements.txt
  6. ADD ./ /pyramid
  7. WORKDIR /pyramid
  8. EXPOSE 8080
  9. CMD gunicorn wsgi:app -c gunicorn_conf.py