aiohttp-nginx.dockerfile 276 B

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