add user? new page? new web

This commit is contained in:
2026-03-23 21:28:10 +05:00
parent 04bfff3d3f
commit 9cd6d83428
26 changed files with 917 additions and 65 deletions

View File

@@ -1,3 +1,14 @@
FROM nginx:alpine
COPY . /usr/share/nginx/html
EXPOSE 80
FROM python:3.11-slim
WORKDIR /app
# Устанавливаем flet (uvicorn уже входит в зависимости flet)
RUN pip install --no-cache-dir flet "uvicorn[standard]" httpx
# Копируем исходники веб-приложения
COPY . .
EXPOSE 80
# Запускаем Flet как ASGI-приложение через uvicorn
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]