1234567891011121314151617181920 |
- FROM python:3.13
- ADD ./requirements.txt /aiohttp/requirements.txt
- RUN pip3 install cython==3.0.11 && \
- pip3 install -r /aiohttp/requirements.txt
- RUN apt-get update && apt-get install -y nginx
- ADD ./ /aiohttp
- WORKDIR /aiohttp
- ENV CONNECTION=RAW
- EXPOSE 8080
- RUN chmod +x /aiohttp/nginx-entrypoint.sh
- ENTRYPOINT ["/aiohttp/nginx-entrypoint.sh"]
|