Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
Fix docker-compose to run fastapi
  • Loading branch information
vgole001 authored Jun 7, 2024
1 parent bff081d commit fefd6ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ services:
build:
context: .
dockerfile: Dockerfile
command: python api.py
container_name: FastApi
ports:
- "8000:8000"
command: python3 -m uvicorn api:app --host 0.0.0.0 --port 8000 --reload
depends_on:
- linkchecker
- linkchecker

0 comments on commit fefd6ed

Please sign in to comment.