aiohttp-orm.dockerfile 357 B

12345678910111213141516171819202122
  1. FROM python:3.13
  2. RUN apt-get update && apt-get install -y nginx
  3. ADD ./requirements.txt /aiohttp/requirements.txt
  4. RUN pip3 install cython==3.0.11 && \
  5. pip3 install -r /aiohttp/requirements.txt
  6. ADD ./ /aiohttp
  7. WORKDIR /aiohttp
  8. ENV CONNECTION=ORM
  9. EXPOSE 8080
  10. RUN chmod +x /aiohttp/nginx-entrypoint.sh
  11. ENTRYPOINT ["/aiohttp/nginx-entrypoint.sh"]