mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08:00
* Refactor file type validation logic Refactor file type checks to allow valid formats and raise errors for unsupported types. * Fix lint --------- Co-authored-by: Wu Clan <jianhengwu0407@gmail.com>
FastAPI Best Architecture - Backend
Docker
-
Make sure you're at the root of the project
-
Run the following Docker command to build container:
docker build -f Dockerfile -t fba_backend_independent . -
Start container
Native boot needs to change
127.0.0.1in.envtohost.docker.internaldocker run -d -p 8000:8000 --name fba_server fba_backend_independent