falcon-socketify-asgi.dockerfile 384 B

1234567891011121314
  1. FROM python:3.11-bullseye
  2. RUN apt-get update; apt-get install libpq-dev python3-dev libuv1-dev -y
  3. COPY ./ /falcon
  4. WORKDIR /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-socketify.txt
  10. EXPOSE 8080
  11. CMD python app-socketify-asgi.py