falcon.dockerfile 447 B

123456789101112131415
  1. FROM python:3.9-bullseye
  2. RUN apt-get update; apt-get install libpq-dev python3-dev -y
  3. WORKDIR /falcon
  4. COPY ./ /falcon
  5. RUN pip3 install -U pip
  6. RUN pip3 install cython==0.29.26
  7. #RUN pip3 install falcon==3.1.1 --no-binary :all:
  8. RUN pip3 install -r /falcon/requirements.txt
  9. RUN pip3 install -r /falcon/requirements-meinheld.txt
  10. RUN pip3 install -r /falcon/requirements-db-pony.txt
  11. EXPOSE 8080
  12. CMD ["gunicorn", "app:wsgi", "-c", "gunicorn_conf.py"]