Срез 0: скелет ядра — ORM и миграция 0001 по DBML v5.13, seed, auth с dev-эмитентом, обмен через recognition_job #3

Merged
aep merged 97 commits from feat/1-slice-0-skeleton into main 2026-10-04 18:40:48 +03:00
4 changed files with 38 additions and 4 deletions
Showing only changes of commit 15a06a075d - Show all commits

15
.dockerignore Normal file
View File

@ -0,0 +1,15 @@
.git
.superpowers
.claude
.codegraph
openspec
docs
setup
**/__pycache__
**/*.pyc
api/.venv
api/.env
**/.mypy_cache
**/.ruff_cache
**/.pytest_cache
web/node_modules

2
.gitignore vendored
View File

@ -322,9 +322,7 @@ dist
# Custom ignore
.DS_Store
Dockerfile
docker-compose.yml
.dockerignore
.vscode
my_project_env
.cursorignore

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
# Образ для dev и `make check-full`. Контекст сборки — корень репозитория arm-core.
# Платформенные пакеты raisa_* (Nexus) в образ не ставятся — та же логика, что в `make venv`.
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1
WORKDIR /app/api
COPY api/requirements.txt ./requirements.txt
RUN grep -v '^raisa_' requirements.txt > /tmp/req.txt \
&& pip install --no-cache-dir -r /tmp/req.txt \
&& rm /tmp/req.txt
COPY api/ ./
EXPOSE 8000
CMD ["python", "run_server.py"]

View File

@ -14,8 +14,6 @@
"antd": "^6.5.0",
"markdown-to-jsx": "^9.1.2",
"pdfjs-dist": "^5.7.284",
"raisa-fastapi-protected-web": "^1.0.0",
"raisa-ui": "^1.0.0",
"react": "^18.3.1",
"react-daisyui": "^5.0.5",
"react-dom": "^18.3.1",
@ -32,5 +30,9 @@
"daisyui": "^4.12.10",
"tailwindcss": "^3.4.13",
"typescript": "^5.7.3"
},
"optionalDependencies": {
"raisa-fastapi-protected-web": "^1.0.0",
"raisa-ui": "^1.0.0"
}
}