make it work in docker again and fix some ngx config issues

This commit is contained in:
2025-07-02 20:47:10 +03:00
parent c41e0cfc0c
commit 13c89cbde2
4 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM python:3.13-slim
FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
nginx \
@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y \
imagemagick \
&& rm -rf /var/lib/apt/lists/*
RUN python -m venv /opt/venv
RUN python -m venv --system-site-packages /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
WORKDIR /app