Skip to content

Commit 08c05b8

Browse files
committed
FIX: Correctly set up alembic migration
1 parent 8450f0b commit 08c05b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
- .env
1111
depends_on:
1212
- db
13-
command: uvicorn app.main:app --host 0.0.0.0 --port 8000
13+
command: bash -c "alembic upgrade head && uvicorn app.main:app --host 0.0.0.0 --port 8000"
1414
volumes:
1515
- ./alembic/versions:/app/alembic/versions
1616

0 commit comments

Comments
 (0)