infra/nginx/nginx-dev/Dockerfile
Egor Matveev 84c36855e3 fix
2025-06-04 03:37:27 +03:00

11 lines
318 B
Docker

FROM nginx
RUN apt-get update
RUN apt-get install certbot --yes
RUN apt-get install python3-certbot-nginx python3-pip --yes
RUN pip3 install --break-system-packages requests minio
COPY ./config /etc/nginx
COPY prepare.py prepare.py
COPY run.sh run.sh
ENV PYTHONUNBUFFERED=1
RUN chmod 777 run.sh
ENTRYPOINT ["./run.sh"]