This commit is contained in:
root
2025-12-14 10:39:18 +03:00
commit 639f4e2b4e
179 changed files with 21065 additions and 0 deletions

16
rodchenko/Dockerfile Executable file
View File

@@ -0,0 +1,16 @@
FROM python:3.11-slim
RUN apt update && apt install -y curl sqlite3 xxd
WORKDIR /app
RUN echo SECRET_KEY=$(xxd -l 20 -p /dev/urandom) >> .env
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app/ .
EXPOSE 5050
CMD ["gunicorn", "--worker-class", "gevent", "--worker-connections", "1024", "--bind", "0.0.0.0:5050", "app:app"]