feat: project scaffold (FastAPI backend, React frontend, aiogram bot, docker-compose, CI/CD)

This commit is contained in:
apuc committed 2026-09-26 19:41:12 +03:00
1 parent 066deaca47
commit 71460ab56a
37 files changed
+936

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
FROM python:3.12-slim
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential libpq-dev curl \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["gunicorn", "app.main:app", "-k", "uvicorn.workers.UvicornWorker", \
"-w", "4", "-b", "0.0.0.0:8000"]