diff --git a/.gitignore b/.gitignore index edd002b..3d5219b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -__pycache__/ +__pycache__/ *.pyc *.pyo .pytest_cache/ diff --git a/entrypoint.sh b/entrypoint.sh index c2406d7..f10cb8b 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh set -e python -c "from database.models import Base; from database.database import engine; Base.metadata.create_all(bind=engine); print('regwatch: schema OK')" exec uvicorn api.main:app --host 0.0.0.0 --port 8000