mirror of
https://github.com/azaion/loader.git
synced 2026-04-22 08:26:32 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user