Fetching metadata from the HF Docker repository...
-
fix: copy scripts/ in Dockerfile, auto seed on startup Running
- COPY scripts/ scripts/ so seed scripts are available in container
- CMD: alembic upgrade -> seed_permissions -> seed_roles -> create_superadmin -> uvicorn
- Ensures fresh container has default admin account (hanbin / Han147258!) -
fix: set PYTHONPATH=/app in Dockerfile so alembic can import app.*
-
feat: add Dockerfile and HuggingFace Space config
- Dockerfile: python 3.12-slim, port 7860, alembic upgrade on startup
- README.md: add HF Space front-matter (sdk: docker, app_port: 7860)