Update project configuration and code structure

- Added '*.o' to .gitignore to exclude object files from version control.
- Modified Dockerfile to specify the application directory for Uvicorn.
- Updated setup.py to reflect the new source directory structure for Cython extensions.
- Adjusted E2E Docker Compose command to include the application directory.
- Refined type hints in ApiClient and Security classes for better clarity and consistency.

These changes enhance the project's organization and improve the build process.
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-04-13 06:47:06 +03:00
parent ec5d15b4e7
commit 0c5686d149
8 changed files with 28 additions and 29 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ services:
build:
context: ..
dockerfile: Dockerfile
command: bash -c "rm -rf /app/models/* && mkdir -p /app/models && python -m uvicorn main:app --host 0.0.0.0 --port 8080"
command: bash -c "rm -rf /app/models/* && mkdir -p /app/models && python -m uvicorn main:app --host 0.0.0.0 --port 8080 --app-dir src"
ports:
- "8080:8080"
depends_on: