Files
fastapi-best-architecture/backend
2026-03-19 12:13:25 +08:00
..
2026-03-19 11:58:45 +08:00
2026-03-19 12:13:25 +08:00
2026-03-19 12:05:15 +08:00
2026-03-12 23:12:30 +08:00

FastAPI Best Architecture - Backend

Docker

  1. Make sure you're at the root of the project

  2. Run the following Docker command to build container:

    docker build -f Dockerfile -t fba_backend_independent .
    
  3. Start container

    Native boot needs to change 127.0.0.1 in .env to host.docker.internal

    docker run -d -p 8000:8000 --name fba_server fba_backend_independent