aiohttp-nginx.dockerfile 354 B

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