falcon-waitress.dockerfile 352 B

12345678910111213
  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 -r /falcon/requirements.txt
  7. RUN pip3 install -r /falcon/requirements-waitress.txt
  8. RUN pip3 install -r /falcon/requirements-db-pony.txt
  9. EXPOSE 8080
  10. CMD ["python", "app.py", "-s", "waitress"]